PowerShell scripts for managing Microsoft Cloud App Security
This repository contains scripts for managing Microsoft Cloud App Security.
-
First you must register an API token within the Microsoft Cloud App Security Console. You find instructions for this here Managing API tokens
-
The MCAS Toolbox functions have a dependency on the MCAS PowerShell module
Install-Module -Name "MCAS" -Scope CurrentUser
- Before you can run the MCAS Toolbox functions you must first connect with MCAS
$mcastoken = "<YOUR TOKEN GOES HERE>"
$mcasurl = "eCorp.eu2.portal.cloudappsecurity.com"
.\Connect-MCASApi.ps1 -MCASToken $MCASToken -MCASUrl $mcasurl
If the previous steps completed successfully, you can run the following function to get a list of registered IP ranges in MCAS.
.\Get-MCIPRange -IPRangeName AlexHome
- Add-MCASIPRange
- Compare-MCASIPSubnet
- Connect-MCASApi
- Export-MCASIpRange
- Find-MCASIPSubnet
- Get-MCASIPRange
Version | Date | Notes |
---|---|---|
1.0.0 | 09.04.2021 | Initial Release |
- Import-MCASIpRange