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
[2024/11/07 11:27:48]
{InvalidOperation}
Microsoft.Graph.PowerShell.Authentication.Helpers.HttpResponseException: Response status code does not indicate success: InternalServerError (Internal Server Error).
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
"Error retrieving data:"
at Get-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.1106.1\DSCResources\MSFT_AADServicePrincipal\MSFT_AADServicePrincipal.psm1: line 241
at Export-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.1106.1\DSCResources\MSFT_AADServicePrincipal\MSFT_AADServicePrincipal.psm1: line 1020
at Start-M365DSCConfigurationExtract, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.1106.1\Modules\M365DSCReverse.psm1: line 682
at Export-M365DSCConfiguration, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.1106.1\Modules\M365DSCUtil.psm1: line 1460
at , : line 1
Environment Information + PowerShell Version
No response
The text was updated successfully, but these errors were encountered:
Description of the issue
When performing export or Get-TargetResource Service Principals which are Managed Identities throw error when Entra returns response code 500 on call to https://graph.microsoft.us/v1.0/servicePrincipals/$($AADServicePrincipal.Id)/delegatedPermissionClassifications
Microsoft 365 DSC Version
1.24.1106.1
Which workloads are affected
Azure Active Directory (Entra ID)
The DSC configuration
No response
Verbose logs showing the problem
[2024/11/07 11:27:48]
{InvalidOperation}
Microsoft.Graph.PowerShell.Authentication.Helpers.HttpResponseException: Response status code does not indicate success: InternalServerError (Internal Server Error).
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
"Error retrieving data:"
at Get-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.1106.1\DSCResources\MSFT_AADServicePrincipal\MSFT_AADServicePrincipal.psm1: line 241
at Export-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.1106.1\DSCResources\MSFT_AADServicePrincipal\MSFT_AADServicePrincipal.psm1: line 1020
at Start-M365DSCConfigurationExtract, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.1106.1\Modules\M365DSCReverse.psm1: line 682
at Export-M365DSCConfiguration, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.1106.1\Modules\M365DSCUtil.psm1: line 1460
at , : line 1
Environment Information + PowerShell Version
No response
The text was updated successfully, but these errors were encountered: