Request MS365 refresh token (update token)
To log on to Microsoft Exchange, you need an access token. This is automatically generated when logging on to Microsoft Exchange. For security reasons, access tokens are only valid for approx. 1 hour. After that, a new access token is generated automatically. This is done by the refresh token. You must request this manually in the Connector for Microsoft Exchange on the Exchange Account tab. You must do this for the user you use when creating the data source ().
You also need to request it for the additional users you use in applications and processes ().
The refresh token is stored in the MediaGateway. It is valid for three months. The token must then be manually requested again.
Step-by-step guide
To request an MS365 refresh token, proceed as follows:
-
Start the "Integration" module.
-
Navigate to "Consume data > Connector for Microsoft Exchange".
The data source created is displayed in the right-hand area.
-
Select the data source you have created.
-
Press ENTER or right-click and select "Edit" from the context menu.
The "Edit data source" dialog box opens.
-
Switch to the "Exchange account" tab.
When creating a new data source, the dialog appears as follows:
-
Click on "Request MS365 Refresh Token".
The "Request MS365 Refresh Token" dialog box is displayed.
-
Copy the displayed code to the clipboard and paste it into the displayed Microsoft login page ().
You can also open the Microsoft login page in your browser ().
-
Click on "Next".
The next dialog is displayed.
-
Enter the e-mail address you use to log in to Microsoft Exchange.
-
Click on "Next".
The next dialog is displayed.
-
Enter the password.
-
Click on "Log in".
The next dialog is displayed.
-
Click on "Next".
The next dialog is displayed.
The refresh token is generated and stored in the MediaGateway.
You will automatically return to the dialog
The text "Request MS365 Refresh Token" is displayed in gray and can no longer be clicked.
The MS365 refresh token is stored in the media gateway and is used to generate access tokens.
The MS365 Refresh Token is valid for 90 days. It must then be regenerated in the manner described here.
Request refresh token for additional users
Step-by-step guide
To request a refresh token for additional users, proceed as follows:
-
Switch to the "Additional users" tab.
-
Click on the icon.
The "Additional users" dialog box is displayed.
-
Select an Intrexx user and assign a Microsoft Exchange user to it.
-
Click on "Request MS365 Refresh Token".
Now proceed as described above, starting with the step Click on "Request MS365 Refresh Token"..
More information