Connection |
Provider |
Use for |
AzureAD |
Azure AD management |
|
Exchange |
Exchange configuration (uses Exchange online v1 Powershell) |
|
Graph |
Provides graph token variable with an access token to allow you to send https requests to Microsoft Graph. |
|
MSOnline |
Older Powershell library for managing AzureAD and Office 365 |
|
PartnerCenter |
For managing subscriptions, billing, customer details within PartnerCenter |
|
SecurityCenter |
Security and Compliance Configuration. |
Variable Name |
Available |
Description |
$CustomerID |
Always |
A reference to the Atria CustomerID (primary key of customers table) |
$TenantId |
When tenant exists in Azure AD |
The Microsoft AzureAD globally unique tenantID (GUID) |
$UserId |
When |
The Atria numeric UserID (primary key of users table) |
$UserAzureID |
When user exists in Azure AD |
The GUID of the user in Azure AD |
$Session |
When Exchange has been specified as a connect option |
Holds the connection to the Exchange Remote Powershell session. |
$GraphToken |
When Graph has been specified as a connect option |
Holds an access token for Microsoft Graph. |
$SecurityCenterSession |
When SecurityCenter has been specified as a connect option |
Holds the PowerShell Session connection to the Security and Compliance Endpoint. |
The rule we have added is also dependent on the msolws
You can connect to multiple services if needed. So if you have one large script that talks to multiple Powershell interfaces, you can comma separate the providers you need on the connect parameter of the rule.