Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AADServicePrincipal uri call in Get-CustomSecurityAttributes not properly formatted result in InvalidArgument exception #5354

Closed
mpoulson opened this issue Nov 7, 2024 · 0 comments

Comments

@mpoulson
Copy link
Contributor

mpoulson commented Nov 7, 2024

Description of the issue

$customSecurityAttributes = Invoke-MgGraphRequest -Uri $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl + "beta/servicePrincipals/$($ServicePrincipalId)?$select=customSecurityAttributes" -Method Get

throws "Invalid Argument exception"

Microsoft 365 DSC Version

V.1.24.1106.1

Which workloads are affected

Azure Active Directory (Entra ID)

The DSC configuration

No response

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants