Overview
This article shows the steps on how to regenerate the Microsoft Online Partner Center and Exchange Online Token
Applies To
Atria v15.16+
Steps on Regenerating the Microsoft Online Partner Center Token
1. Login into Atria Portal, Navigate to Services > Microsoft Online > Partner Center Connection
2. Click/Open the Partner Center Connection
3. Copy the Application ID
4. Go to your Provisioning Server, Open PowerShell (Admin), Navigate to 'C:\inetpub\Automate101\Atria\Atria Web Services\Msol\'
5. Run the script .\regenerate-azure-app-refresh-token-mggraph.ps1 -ApplicationId '<Application ID>'
6. This will prompt for login, use the same account that was used for the Partner Center Connection
7. Once regenerated, copy the new values of Application Secret and Refresh Token into Atria
Steps on Regenerating the Exchange Online Token
1. Login into Atria Portal, Navigate to Services > Microsoft Online > Partner Center Connection
2. Click/Open the Partner Center Connection
3. Copy the Application ID. This is the same ID for the Microsoft Online Partner Center since the Exchange Online Application is tied up with it.
4. Go to your Provisioning Server, Open PowerShell (Admin), Navigate to 'C:\inetpub\Automate101\Atria\Atria Web Services\Msol\'
5. Run the script .\regenerate-azure-app-refresh-token-mggraph.ps1 -ApplicationId '<Application ID>' -ExchangeOnline
6. This will prompt for login, use the same account that was used for the Partner Center Connection
7. Once regenerated, copy the new values of Exchange Application Secret and Exchange Refresh Token into Atria