Forum Discussion

Oscar Goco's avatar
Oscar Goco
Copper Contributor
Jun 15, 2018

Conditional Access with Powershell

Based on article: Location conditions in Azure Active Directory conditional access

https://docs.microsoft.com/en-us/azure/active-directory/active-directory-conditional-access-locations

"API support and PowerShell
API and PowerShell is not yet supported for named locations, or for conditional access policies."

 

Does anyone know if and when Microsoft will provide this capability?

 

A customer would like to bulk import hundreds of IP address into a Named location under different Names. Current bulk upload functional can be done manually for one Name only.

So we would create a Name then upload. Create another name then upload, etc.

This can be very time consuming if there are numerous Named locations and IP Addresses.

 

Need to create many Names and within each name, bulk upload numerous IP ranges.

Trying to script out:

Create Name1 location, Upload bulk IP addresses

Create Name 2 location, Upload bulk IP addresses

:

 

Any assistance is greatly appreciated.

 

Thanks.

Resources