You must create an App Registration for the LeadMagic Portal.
We'll need 3 pieces of information:
Tenant ID
Client ID
Client Secret
We'll also need some specific permissions:
Microsoft Graph Permissions:
Domain.ReadWrite.All (Microsoft Graph)
User.ReadWrite.All (Microsoft Graph)
Basic Permissions:
Offline_Access
OpenID
Profile
After we have these, we will need to turn your account on and confirm it worked.
Please submit a chatbot request.
Here are the instructions.
Log in to Azure Portal:
Go to the Azure Portal.
Sign in with your Azure account.
Create an App Registration:
Navigate to "Azure Active Directory".
Go to "App registrations" and click "New registration".
Fill in the details like the name of the app and the redirect URI (if applicable).
Once the app is registered, you will be redirected to the app's overview page.
Tenant ID and Client ID:
On the app overview page, you'll find the Directory (tenant) ID
and Application (client) ID
. These are your Tenant ID and Client ID, respectively.
Create a Client Secret:
Go to "Certificates & secrets" in the app registration.
Click on "New client secret".
Add a description and set an expiry period.
Once created, the value of the client secret will be displayed. This is your client_secret
.
Important: Copy the secret value immediately; it cannot be retrieved again after you leave this page.
Configure API Permissions:
In the app registration, go to "API permissions".
Click "Add a permission".
Choose "Microsoft Graph".
Add Required Permissions:
For creating domains, add the Domain.ReadWrite.All
permission.
For creating users, add the User.ReadWrite.All
permission.
Admin Consent:
If you're not an admin, you'll need an admin to grant consent to these permissions.
If you have the necessary privileges, click "Grant admin consent for [Your Organization]" and confirm.
Complete the Process:
Your application is now configured with the necessary permissions to interact with Microsoft Graph for domain and user operations.
Roles and Permissions: Ensure your Azure account has sufficient permissions to create app registrations and grant permissions.
Security: Treat your client secret like a password. Keep it secure and don't share it.
Permission Scope: The permissions you need might vary based on your specific requirements and the nature of your application.
This is a general guide. Depending on your organization's specific setup and policies, some steps or settings might differ. If you encounter any issues, it's advisable to consult your organization's Azure administrator or refer to the Microsoft Azure documentation.