Skip to main content

Regenerate the Microsoft Online Partner Center and Exchange Online Token

Overview

This article shows the steps on how to regenerate the Microsoft Online Partner Center and Exchange Online Token

Process

  1. Login into Atria Portal, Navigate to Services > Microsoft Online > Partner Center Connection
  2. Open the Partner Center Connection
  3. Copy the Application ID: Partner Center Connection - 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: Partner Center Connection - Update AppSecret and Refresh Token

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: Partner Center Connection - Application IDApplication 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: Partner Center Connection - Update EXO AppSecret and EXO Refresh Token
info

If you are in need of support, don't hesitate to contact us at support@getatria.com.