Comments (6)
I will take a stab at fixing this. It might be as simple as putting the {1}
between '
(correctly escaped for Bicep/ARM) to fix this.
from avdaccelerator.
Hey @SvenAelterman thanks for your contribution, the following is the logic we have today:
function Set-EscapeCharacters {
Param(
[parameter(Mandatory = $true, Position = 0)]
[String]
$string
)
$string = $string -replace '*', '*' $string = $string -replace '\\', '
'
$string = $string -replace '~', '~' $string = $string -replace '\;', '
;'
$string = $string -replace '(', '(' $string = $string -replace '\%', '
%'
$string = $string -replace '?', '?' $string = $string -replace '\.', '
.'
$string = $string -replace ':', ':' $string = $string -replace '\@', '
@'
$string = $string -replace '/', '/' $string = $string -replace '\$', '
$'
$string
}
We will need to add "|"
from avdaccelerator.
Then what about the next character? Wouldn't enclosing in single quotes (and then escaping single quotes) be a more robust solution?
from avdaccelerator.
Agree, let's try out what you are referring sounds better than current setup.
from avdaccelerator.
Sounds good. I wasn't aware of the escape code, so it will probably need to be revised to not escape most characters or the password will be sent incorrectly to the VM.
from avdaccelerator.
Addressed by @SvenAelterman on PR: #526
from avdaccelerator.
Related Issues (20)
- Idempotency issue when deploying Session Hosts HOT 4
- Purpose of terraform/greenfield/AADDSscenario not documented HOT 2
- azurerm_user_assigned_identity.mi is not used for FSLogix in AADDSscenario and ADDSscenario HOT 1
- AADDSscenario says Entra ID joined but joins domain controller HOT 2
- azurerm_storage_share.FSShare created for FSLogix is unused HOT 2
- Policy remediation error during portal deployment HOT 4
- AS-Disable-Microsoft-Entra-ID-User-From-Entity Sentinel PlaybookTemplate BUG HOT 1
- storageAzureFiles bicep module handling DirectoryServiceOptions incorrectly HOT 1
- [PLACEHOLDER] - Place a descriptive title here HOT 1
- Architecture diagram: Dual private endpoints would cause DNS conflicts? HOT 5
- Route to Identity vNet not created in Route Table HOT 3
- Italy North as Session Host and management VM region HOT 3
- Spelling Incorrect for Resource Tagging - Validation Fails HOT 1
- Management VM Deploy Fails with Confidential VM option HOT 2
- [Features] - Enroll the VM in Intune HOT 2
- Feature Request - Add Zero-Trust support for Brownfield Add Session Host HOT 2
- [Documentation Issue] - Subscription level access or RG level access for AVD SP HOT 1
- [Bug] AVD Monitoring - failed deployments when avdDeployMonitoring is set to false HOT 4
- BROKEN - Session Host Config Host Pool Registration Token HOT 4
- [Feature] - Support for Multiple Hostpools and Access Group Assignments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avdaccelerator.