Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
danycontre committed Nov 1, 2024
1 parent 5822233 commit 38f71ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified workload/scripts/DSCStorageScripts/1.0.1/DSCStorageScripts.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $ErrorActionPreference = "Stop"

. (Join-Path $ScriptPath "Logger.ps1")

if ($IdentityServiceProvider -ne 'AAD') {
if ($IdentityServiceProvider -ne 'EntraID') {
Write-Log "Forcing group policy updates"
gpupdate /force /wait:0

Expand Down Expand Up @@ -171,7 +171,7 @@ Try {
icacls ${DriveLetter}: /remove "BUILTIN\Users"
Write-Log "ACLs set"
#AVD group permissions
if ($SecurityPrincipalName -eq 'none' -or $IdentityServiceProvider -eq 'AAD') {
if ($SecurityPrincipalName -eq 'none' -or $IdentityServiceProvider -eq 'EntraID') {
Write-Log "AD group not provided or using Microsoft Entra ID joined session hosts, ACLs for AD group not set"
}
else {
Expand Down

0 comments on commit 38f71ef

Please sign in to comment.