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
A customer is trying to clear the Devices Conditions in a Conditional Access Policy and cannot using Update-MgIdentityConditionalAccessPolicy
Update-MgIdentityConditionalAccessPolicy
We can clear sections of a Conditional Access Policy using Update-MgIdentityConditionalAccessPolicy
When running the reproduction code we should see a request body with a null valued Devices property, e.g.:
{ "Conditions": { "Devices": null } }
Run the following commands with fiddler set up and intercepting requests to Microsoft Graph
Connect-MgGraph $policyId = "POLICYID" $params = @{ conditions = @{ devices = $null } } Update-MgIdentityConditionalAccessPolicy -ConditionalAccessPolicyId $policyId -BodyParameter $params
You will see that the body of the request sent over the wire contains and empty object {}
{}
No response
use Invoke-GraphRequest
Invoke-GraphRequest
not provided in IcM: https://portal.microsofticm.com/imp/v5/incidents/details/557480666
Not provided
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
A customer is trying to clear the Devices Conditions in a Conditional Access Policy and cannot using
Update-MgIdentityConditionalAccessPolicy
Expected behavior
We can clear sections of a Conditional Access Policy using
Update-MgIdentityConditionalAccessPolicy
When running the reproduction code we should see a request body with a null valued Devices property, e.g.:
How to reproduce
Run the following commands with fiddler set up and intercepting requests to Microsoft Graph
You will see that the body of the request sent over the wire contains and empty object
{}
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
use
Invoke-GraphRequest
Debug output
not provided in IcM: https://portal.microsofticm.com/imp/v5/incidents/details/557480666
Configuration
Not provided
Other information
No response
The text was updated successfully, but these errors were encountered: