We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
In the module MSFT_AADConditionalAccessPolicy, the cmdlet Invoke-MgGraphRequest is newly used to create or update a conditional access policy.
Line 1694: Invoke-MgGraphRequest -Method POST -Uri 'https://graph.microsoft.com/beta/identity/conditionalAccess/policies' -Body $NewParameters
On my side, when I use this command I always need to convert the Body to a JSON text format like this:
Invoke-MgGraphRequest -Method POST -Uri 'https://graph.microsoft.com/beta/identity/conditionalAccess/policies' -Body ($NewParameters | ConvertTo-Json -Depth 10)
If I don't, it always fails with a schema error.
Then my question is: are you sure the Body parameter can be a HashTable ?
Thanks for your attention ! Fabrice
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
In the module MSFT_AADConditionalAccessPolicy, the cmdlet Invoke-MgGraphRequest is newly used to create or update a conditional access policy.
Line 1694: Invoke-MgGraphRequest -Method POST -Uri 'https://graph.microsoft.com/beta/identity/conditionalAccess/policies' -Body $NewParameters
On my side, when I use this command I always need to convert the Body to a JSON text format like this:
Invoke-MgGraphRequest -Method POST -Uri 'https://graph.microsoft.com/beta/identity/conditionalAccess/policies' -Body ($NewParameters | ConvertTo-Json -Depth 10)
If I don't, it always fails with a schema error.
Then my question is: are you sure the Body parameter can be a HashTable ?
Thanks for your attention !
Fabrice
The text was updated successfully, but these errors were encountered: