AzureAD / azure-activedirectory-powershell

This is a repo for Azure AD PowerShell scrips and samples
30 stars 27 forks source link

New-AzureADMSNamedLocationPolicy policies are only viewable in the Preview Portal #23

Closed BradAF closed 3 years ago

BradAF commented 3 years ago

After using the New-AzureADMSNamedLocationPolicy cmdlet to create a named location, the new named location does not show up in the Azure AD Conditional Access > Named Locations. However, it does show up with Get-AzureADMSNamedLocationPolicy and it does show up in the portal under Named Locations (preview).

It also seems as thought the new policy is not taking effect. When I move an IP address from the old named location policy to the new location policy created with the script, I can no longer access the portal from that IP. The policies are both set as 'Trusted'.

BradAF commented 3 years ago

My mistake, the Named location was not assigned to policy. The functionality is correct but the PowerShell cmdlet will only work for the items in the preview panel