NOTE: Preferred method is using Grant Partner Center Consent
To access your customer tenants and automate your license billing, we need to create an AzureAD Application in your Partner tenant.
This is compatible with Delegated Admin Permissions and Granular Delegated Admin Permissions for Partners.
The permissions we need access to are as follows:
- Microsoft Graph
- Global Reader (delegated permission)
- Offline Access
- Microsoft Partner Center
- user_impersonation (delegated permission)
Requirements
Minimum GDAP Permissions
- Global Reader
- Application Administrator (to provide consent to this application to your customer tenants)
- You will need to log in as a Global Admin account of your Microsoft Tenant
- Creating the app and granting consent
- You will need the AzureAD Powershell module or run the script as administrator and the script will install the module
Creating the Application
We have created a simple powershell script to automatically create the application. This will add the application with the relevant permissions and give you the details required for the Sync 365 License Application.
- Copy the below script into either Powershell or notepad
- Save the file as s365lapp.ps1
- Either right click the saved file and run with powershell, or run it from a powershell window with ./s365lapp.ps1 (in the directory of the saved file).
- Record your Tenant ID, Application ID and Client Secret.
- Log into Sync 365 License
- Click on “Company”
- Click the Delegated Admin tab
- Click the + and select Add Azure AD Application
- Fill in the AzureAD Application details that you got from the script above
- Name: Whatever you like
- Application ID
- Application Secret
- Partner Tenant ID
- Click Save
- You will now be prompted to log into Microsoft and authorize the application
- Important: You must use a partner account that has been provided either GDAP with at least global reader permissions and application administrator, or DAP access to your tenants and the partner center. (See here for more GDAP information)
- Important: You must use a partner account that has been provided either GDAP with at least global reader permissions and application administrator, or DAP access to your tenants and the partner center. (See here for more GDAP information)
- Depending on the size of your customer list, this may take a few minutes to process all your tenants.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article