Remove-AzureADMSNamedLocationPolicy
This article provides migration details from Remove-AzureADMSNamedLocationPolicy command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Remove-AzureADMSNamedLocationPolicy
- Azure AD Module: AzureAD
- Microsoft Graph Command: Remove-MgIdentityConditionalAccessNamedLocation (Community Examples)
- Graph Module: Microsoft.Graph.Identity.SignIns
- Graph Endpoint: DELETE /identity/conditionalAccess/namedLocations/{id}
Permissions
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | Policy.Read.All and Policy.ReadWrite.ConditionalAccess |
Delegated (personal Microsoft account) | Not supported. |
Application | Policy.Read.All and Policy.ReadWrite.ConditionalAccess |
Property Mapping
Azure AD Name | Microsoft Graph Name |
---|---|
PolicyId | NamedLocationId |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for