New-AzureADMSNamedLocationPolicy
This article provides migration details from New-AzureADMSNamedLocationPolicy command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: New-AzureADMSNamedLocationPolicy
- Azure AD Module: AzureAD
- Microsoft Graph Command: New-MgIdentityConditionalAccessNamedLocation (Community Examples)
- Graph Module: Microsoft.Graph.Identity.SignIns
- Graph Endpoint: POST /identity/conditionalAccess/namedLocations
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 |
---|---|
CountriesAndRegions | CountriesAndRegions |
DisplayName | DisplayName |
Id | Id |
IncludeUnknownCountriesAndRegions | IncludeUnknownCountriesAndRegions |
IpRanges | IpRanges |
IsTrusted | IsTrusted |
OdataType | OdataType |
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for