Examples/Resources/EXOAuthenticationPolicyAssignment/2-Update.ps1
Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $Credscredential ) Import-DscResource -ModuleName Microsoft365DSC $Domain = $Credscredential.Username.Split('@')[1] node localhost { EXOAuthenticationPolicyAssignment 'ConfigureAuthenticationPolicyAssignment' { UserName = "AdeleV" AuthenticationPolicyName = "Test Policy" # Updaqted Property Ensure = "Present" Credential = $Credscredential } } } |