-
Notifications
You must be signed in to change notification settings - Fork 167
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
extend Invoke-MgGraphRequest to handle PUT body / Unauthorized during build #483
Comments
currently I use this workaround
instead of
|
@KaiWalter We have fixed the issue you noted. The bad request was caused by In the mean while a workaround would be to specify the To fix the unauthorized issue during build, remove the following lines from Nuget.config. They point to our internal build feed, we will correct this as well in the next build. msgraph-sdk-powershell/Nuget.config Lines 4 to 6 in 437e8bf
|
thanks @finsharp - adding |
removing lines from |
I need to PUT a body with this operation
https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies/{id}
and get a 400 Bad Request although the same body works on the respective Graph API operation.If I interpret
InvokeMgGraphRequest.cs
correctly, the body is just not added to the request stream for aPUT
method operation.I wanted to extend the CmdLet myself but already struggle with
.\tools\GenerateAuthenticationModule.ps1 -Build
which gives me an authentication error
The text was updated successfully, but these errors were encountered: