external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Open.MS.GraphBeta.PowerShell.dll-Help.xml |
AzureADPreview |
2.0.0 |
Deletes an Azure Active Directory named location policy by PolicyId.
Remove-AzureADMSNamedLocationPolicy -PolicyId <String> [<CommonParameters>]
This cmdlet allows an admin to delete the Azure Active Directory named location policy. Named locations are custom rules that define network locations which can then be used in a Conditional Access policy.
PS C:\> Remove-AzureADMSNamedLocationPolicy -PolicyId 76fdfd4d-bd80-4c1e-8fd4-6abf49d121fe
This command deletes a named location policy in Azure AD.
Specifies the ID of a named location policy in Azure Active Directory.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
New-AzureADMSNamedLocationPolicy