Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

OData and SOAP service testing error - authority should be in Uri format

(0) ShareShare
ReportReport
Posted on by 1,424

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.

Azure-app-reg.png

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

ClientConfig.png

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

8640.Exception.png

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

4530.ErrorMessage.png

*This post is locked for comments

  • Naveen Mishra Profile Picture
    4 on at
    RE: OData and SOAP service testing error - authority should be in Uri format

    Hi guys,

    I m also facing this issue so can you please explain about tenant .

    How and where i can get this Tenant form my azure portal.

  • Sohaib Cheema Profile Picture
    46,614 User Group Leader on at
    RE: Dynamics 365 OData and SOAP service testing error - authority should be in Uri format

    may I suspect something wrong with Tenant information provided it should be something as under

    ActiveDirectoryTenant = "https://login.windows.net/{CompanyDomain}";

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans