You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Export for the AADAuthenticationRequirement resource throws errors when Guest users are processed. The requirements cannot be exported for Guest users, so those need to get filtered.
Microsoft 365 DSC Version
Dev
Which workloads are affected
Azure Active Directory (Entra ID)
The DSC configuration
N/A
Verbose logs showing the problem
[2025/01/1409:27:43]
{InvalidOperation}
Microsoft.Graph.PowerShell.Authentication.Helpers.HttpResponseException: Response status code does not indicate success: NotFound (Not Found).
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
"Error retrieving data:"
at Get-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.25.108.1\DSCResources\MSFT_AADAuthenticationRequirement\MSFT_AADAuthenticationRequirement.psm1: line 66
at Export-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.25.108.1\DSCResources\MSFT_AADAuthenticationRequirement\MSFT_AADAuthenticationRequirement.psm1: line 350
at Start-M365DSCConfigurationExtract, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.25.108.1\Modules\M365DSCReverse.psm1: line 682
at Export-M365DSCConfiguration, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.25.108.1\Modules\M365DSCUtil.psm1: line 1458
at <ScriptBlock>,<No file>: line 1
Environment Information + PowerShell Version
PSv5.1
The text was updated successfully, but these errors were encountered:
Description of the issue
The Export for the AADAuthenticationRequirement resource throws errors when Guest users are processed. The requirements cannot be exported for Guest users, so those need to get filtered.
Microsoft 365 DSC Version
Dev
Which workloads are affected
Azure Active Directory (Entra ID)
The DSC configuration
N/A
Verbose logs showing the problem
Environment Information + PowerShell Version
PSv5.1
The text was updated successfully, but these errors were encountered: