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'
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ05-27-2024 04:21 AM
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.
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
Labels:
- Labels:
-
API
-
PowerShell
0 REPLIES 0
![](/skins/images/C210B62239BAF37B0AB0FAEB086BB5F1/responsive_peak/images/icon_anonymous_message.png)
![](/skins/images/C210B62239BAF37B0AB0FAEB086BB5F1/responsive_peak/images/icon_anonymous_message.png)