Your first ImmyBot tenant will be automatically linked to the Azure tenant that you signed up for ImmyBot with. You can link other ImmyBot tenants to Azure from the tenant Azure tab.
After creating an ImmyBot tenant, link it to an Azure tenant by navigating to the Azure tab in ImmyBot and entering the Azure tenant's principal id or domain and clicking Save
.
Once your ImmyBot tenant has been linked to Azure, you can set the Azure Permission Level from the tenant Azure tab. This allows ImmyBot to:
- Sync all users from the Azure tenant
- Sync all users from your GDAP customers (please see GDAP Customers)
- Install the 365 applications a user is licensed for
- Apps for business/Apps for entrprise/Project/Visio
- Deploy software to Teams, On-Premises Security Groups
- Ex. Everyone in the Engineering Team gets AutoCAD 2022
The Azure Permission Level has two modes: Default and Custom
NB: In both the Default and Custom modes, consent must be provided for each customer you want to sync. Please see GDAP Customers for requirements
In this mode, you don't need to create an app registration. You consent as an administrator, allowing ImmyBot access users in your tenant and your customers tenants. Please see GDAP Customers if you want ImmyBot to access your customers' users.
In this mode, you create an App Registration and provide its Application (client) Id and Secret to ImmyBot, allowing you to customize the permissions Immy has to you and your customer's environments.
Navigate to: https://aad.portal.azure.com/
Important! Your app registration must have a Web redirect uri of https://<your-domain>.immy.bot/consent-callback
, replacing <your-domain>
appropriately
See the screenshots below for the minimum permissions.
Note
Since they are commonly used, please note that the DeviceManagementManagedDevices.ReadWrite.All
permission is required for MDM enrollment with the "Join AzureAD" and "Configure Directory" tasks.
Please see GDAP Customers if you want ImmyBot to access your customers' data.
To sync users from GDAP customers of your Azure Partner, permission must be granted in the customer
tenants to Immy's app registration (Default or Custom). This can be achieved either by clicking
on the Consent
button for each customer individually ("Manual consent") or by using the
Pre-consent button ("Pre-consent").
This can be done by clicking on the Consent
or Reconsent
button for the customer on either the
Azure Settings page or ont he Azure tab of the ImmyBot tenat linked to the customer.
NB: When manually consenting to an Azure customer, you must authenticate using an administrator account from that customer!
Immy can automatically grant consent to your GDAP customers using the Partner Center API, removing the need to consent to each customer individually. To do this, you must authenticate to the Partner Center API with a user in the partner tenant that meets these requirements:
- Is a member of the
AdminAgents
security group - Is given the
Application administrator
andPrivileged role administrator
Entra roles at the customer through the GDAP relationship
Here is an example GDAP relationship configuration that will work with Immy's pre-consent functionality:
- Create security group in the partner tenant named
Application Administrators
- Create security group in the partner tenant named
Privileged Role Administrators
- Assign the
Application administrator
Entra role to theApplication Administrators
security group on the customer's admin relationship - Assign the
Privileged role administrator
Entra role to thePrivileged Role Administrators
security group on the customer's admin relationship - Add the partner user that you wish to sign-in to the Partner Center API with to
AdminAgents
,Application Administrators
andPrivileged Role Administrators
security groups
For more information, see these Azure docs:
This error occurs when the redirect uri is not set correctly on the custom app registration. Please follow these steps to set the redirect uri correctly:
- Navigate to the Azure Portal
- Navigate to the Microsoft Entra ID blade
- Navigate to the App Registrations blade
- Select the app registration you created for ImmyBot
- Navigate to the Authentication blade