web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

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

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

  • Naveen Mishra Profile Picture
    4 on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans