cancel
Showing results for 
Search instead for 
Did you mean: 
Disclaimer
JUMPCLOUD EXPRESSLY DISCLAIMS ALL REPRESENTATIONS, WARRANTIES, CONDITIONS, AND LIABILITIES OF ANY KIND ARISING FROM OR RELATED TO THIRD-PARTY SOFTWARE, SCRIPTS, REPOSITORIES, AND APIS. JUMPCLOUD IS NOT REQUIRED TO SUPPORT ANY SUCH THIRD-PARTY MATERIALS AND ALL RISKS RELATED TO THIRD-PARTY MATERIALS ARE YOUR RESPONSIBILITY. PLEASE ALSO REVIEW THE JUMPCLOUD TOS.

[PowerShell] Create Conditional Access Policies via PS with the 'CAP Wizard'

JuergenKlaassen
Rising Star III
Rising Star III

Hi Community Folks

Did you know what JumpCloud has an API-Endpoint for almost and you can even create Conditional Access Policies (CAP)? 
I wrote a Wizard for you and it includes the recently added condition for Operating Systems.

SCR-20240527-oemz.png

 

SCR-20240527-oeuk.png

 

SCR-20240527-ofsj.png

 

Once you have launched the script you will be guided through the process:

  • Provide your JumpCloud API-key
  • Provide a Policy Name and Description
  • Should the policy be enabled?
  • Allow access?
  • Select the available applications
  • Select the available groups to be assigned
  • Select if access is restricted to managed devices
  • Enter Operating Systems to be excluded if applicable
  • Enter the countries which are allowed
  • Select an IP-list if applicable

Notes:
- MFA enforcement is hardcoded (can be changed in the admin console if needed)
- Currently policies are only created for Applications, not for the User Portal
- CAP's do require Platform Prime or the respective add-on SKU

You can find the entire script here

Cheers
-Juergen

0 REPLIES 0