Has anyone faced the error - authority should be in Uri format - while testing the OData entities, SOAP services of Dynamics 365 for Operations? I have just downloaded the Github project to test OData entities and SOAP services from the following link.
https://github.com/Microsoft/Dynamics-AX-Integration/tree/master/ServiceSamples/SoapConsoleApplication
I have also created Azure app registration in the Azure Active Directory.

Then I have substituted the Resource URI, Tenant ID, Application ID and Secret key in the solution

But still I am getting the following error - 'authority' should be in Uri format.

You can see the exception detail below. Has anyone faced this issue before?

*This post is locked for comments
I have the same question (0)