Not Allowed To Enter The Reply URL In Azure

When registering the application in Azure for the UiPath Office365 Activity, an error is shown when entering the reply URL urn:ietf:wg:oauth:2.0:oob . How to resolve?

The UiPath Office365 Activities can only bring a user token and for such purpose a Public/Native application needs to be registered in Azure. The default Reply URL to be used should be “urn:ietf:wg:oauth:2.0:oob” as per Microsoft Redirect URIs article.

If after registering the application an error is displayed when entering the mentioned Reply URL, please follow these steps to fix it;

  1. The error is displayed because the application has been registered as a Web Application and NOT as a Public/Native one.
  2. To fix it go to the application in Azure > Authentication > Add a Platform:
  1. Select Mobile and Desktop applications:
  1. Add the URN and save it