From 2798bc5670599dc59932eb18a26a8e1b8d86b9c9 Mon Sep 17 00:00:00 2001 From: Dany Contreras <78437433+danycontre@users.noreply.github.com> Date: Fri, 11 Oct 2024 13:20:22 -0500 Subject: [PATCH] DSC fix --- .../1.0.1/DSCStorageScripts.zip | Bin 85887 -> 85874 bytes .../1.0.1/Script-DomainJoinStorage.ps1 | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/workload/scripts/DSCStorageScripts/1.0.1/DSCStorageScripts.zip b/workload/scripts/DSCStorageScripts/1.0.1/DSCStorageScripts.zip index 24c4f56fa9a59de9120d848806bf0b2fe04f02f6..2111475ab9493b24defd416ed91eb2209fe1ed35 100644 GIT binary patch delta 2433 zcmV-{34Zqfo(1xr1&}@i8f*!HLA5~v$U6hZYYCA-6t^He0c-{X#%l?YK@_*6LID{9 z4Pa_ZSpWb40000008E$3L;)xV6l@7+6>JHSK@@-8S#59I$PxbR0QnCCS~y9q$;3hK zP#ARqRkBlEZAma?r`P6iSd%MhFBF&AB`wQ2|M#0&E+vwt-&zM~`yq))?mqLfGtbOy z{=ED8)sE-?G#XF*p^v|J26D+n3_nWz%TJ|Za}K>AkXf9*enpE1M}GfoIGGN|BU(R< zAz*)+gPcKc@XNpl9q^bbA@?B6p?)POZJ}5W1xy2jB?}fJ#=SA53vSnYuV3x{<@KwC zDYopOgnv!w7f-qBoU%A%2(*SnXr(IS-JfZ}1&ai}=OdYpvM3s>qh*q=JNZYQDiP0r zhL$zP+A>1OJ!8Ygj~I>kUWE5-Yw(v zZo!-@C~a??*BVkK!w#WW40WkzEqfI#NoiUO-VlQGCV~j{|>> zQXJGOacGGL9U@tmq70QaIbwc0CvraL%1iXVW5C1=I`@SRxX7RFUT@Iu!dF!9Bc?NV z5doZIsRGm#=1OJ>Br+1g8nT28)2PADJjoy6%?wxKKPx8EgSW;*pHjf_JLKOp=qNhk@JW-2BDayEmH zA`azB!%Qf?Vo~G)Lis#(M?5{Y@6hy_h&Z^#k38V_V3J*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H| z!BHcS8}Ba8V6_m@0#+hP3}y*PZ|@a1XbdLE*+&f82nPWyAXQWfKLR$Al4ytDzykq> z%S>Y7+DVWq=S^s|x_w7xW4C^$&J4-Pn?5=RHs`G4_RjgI0)x>XhbNrn*j2!Hh0uDC7ij$w*knb*h6x^SoLTP_#aX#hp~9VQq<;w-vx6myvv^%yWOy7Ht0|5~ zO|2nz8(L4MDT;3bP+}UTh#Z4(X9UVeKBa!5^zROU1S6 zBrJKCio7qV1v`>;ajhxBys(IHmVePRZ1y|pYkI=BL?Wh8Wa10P?;tbH z+-mFDtOt%m<^N2i{nrQA|3f^*e8!3-|4Kk@C%*btY%AMLCvq-6yW-aBoKO zego~F+UERMPcQXXkN(3Rt(5IEl9>wjF4V4?*gXswR58tR+oE~NT+dX-`}T(qZTMr; zVt+NROSwtt+xqs#WdU&(C9wJfoZ1^ZY)}^tfeKJ0>xa7#!YtJPLLg%ttO$hzMa`> ze)TK&4-g{9G*8xOGZdoW2d+W3-f0{Joqr^6z|2pd{vslr{ZYr5Uw@u)xnt=Na?aF!2X1_% z#VOWL=y*0JbdE)6{o?uSSgN^qSQYN*zz9KX?}|#?e9N)X7|jTTAwbJ*-r9eqBf`L4jP8y z;B&-HrwUw4L8|FO$rZkImA|2EXgA>F6g--qgphHy6xv)UQC&I-PpKuC!Vs|tckkWM zd?r%N3X!uk;>YR^I>na~74iQ1Zg@H!jy`m^o4r)}E)H|WQo7kd8zU)?q;(CJo> z>iaB4!zJl~$%1?~cH3*2N?=Mi+S~sGR2poPh3;bK9NhY1U~i6{KO2qXSXcdZWA0?C zZ6n)a4?ZT6_-0s0T7p}P606jZ7`8Q6_-0s q0T2maFYsT-2mkBW1ZQwCkw6ufTu%WI2IEZu0002F?~3~X diff --git a/workload/scripts/DSCStorageScripts/1.0.1/Script-DomainJoinStorage.ps1 b/workload/scripts/DSCStorageScripts/1.0.1/Script-DomainJoinStorage.ps1 index 30ac9f1a1..95a621f88 100644 --- a/workload/scripts/DSCStorageScripts/1.0.1/Script-DomainJoinStorage.ps1 +++ b/workload/scripts/DSCStorageScripts/1.0.1/Script-DomainJoinStorage.ps1 @@ -118,12 +118,12 @@ if ($IdentityServiceProvider -eq 'ADDS') { Write-Log "Domain joining storage account $StorageAccountName in Resource group $StorageAccountRG" if ( $CustomOuPath -eq 'true') { #Join-AzStorageAccountForAuth -ResourceGroupName $StorageAccountRG -StorageAccountName $StorageAccountName -DomainAccountType 'ComputerAccount' -OrganizationalUnitDistinguishedName $OUName -OverwriteExistingADObject - Join-AzStorageAccount -ResourceGroupName $StorageAccountRG -StorageAccountName $StorageAccountName -OrganizationalUnitDistinguishedName $OUName -DomainAccountType 'ComputerAccount' -EncryptionType 'AES256' -OverwriteExistingADObject #-SamAccountName $SamAccountName + Join-AzStorageAccount -ResourceGroupName $StorageAccountRG -StorageAccountName $StorageAccountName -OrganizationalUnitDistinguishedName $OUName -DomainAccountType 'ComputerAccount' -OverwriteExistingADObject #-SamAccountName $SamAccountName Write-Log -Message "Successfully domain joined the storage account $StorageAccountName to custom OU path $OUName" } else { #Join-AzStorageAccountForAuth -ResourceGroupName $StorageAccountRG -StorageAccountName $StorageAccountName -DomainAccountType 'ComputerAccount' -OrganizationalUnitName $OUName -OverwriteExistingADObject - Join-AzStorageAccount -ResourceGroupName $StorageAccountRG -StorageAccountName $StorageAccountName -OrganizationalUnitName $OUName -DomainAccountType 'ComputerAccount' -EncryptionType 'AES256' -OverwriteExistingADObject #-SamAccountName $SamAccountName + Join-AzStorageAccount -ResourceGroupName $StorageAccountRG -StorageAccountName $StorageAccountName -OrganizationalUnitName $OUName -DomainAccountType 'ComputerAccount' -OverwriteExistingADObject #-SamAccountName $SamAccountName Write-Log -Message "Successfully domain joined the storage account $StorageAccountName to default OU path $OUName" } }