Skip to content

A script / tool that can be used to deploy conditional access policies to a tenant with either a custom name or the template name.

License

Notifications You must be signed in to change notification settings

Donovand4/ConditionalAccessTemplateDeployer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Description

This script allows the user to select a Conditional Access Policy Template from a list and deploy it in Microsoft Graph. The user can also choose to deploy all templates or specify a custom name for the policy. The script connects to Microsoft Graph, retrieves the available templates, and prompts the user for their selection. It then creates a new Conditional Access Policy based on the selected template and specified naming convention. The script also handles errors and provides feedback on the deployment status.

Below is an example of the templates that are available from a tenant that will be available for the tool.

image

Examples

Deploy-ConditionalAccessTemplates.ps1 -TenantID "TenantID" -Status "enabled"
This example deploys a Conditional Access Policy Template in the specified tenant with the status set to "enabled".

Deploy-ConditionalAccessTemplates.ps1 -TenantID "TenantID"
This example deploys a Conditional Access Policy Template in the specified tenant with the default status "enabledForReportingButNotEnforced".

Links

About

A script / tool that can be used to deploy conditional access policies to a tenant with either a custom name or the template name.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published