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

Announcements

News and Announcements icon
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,668 Super User 2026 Season 1 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dserp Profile Picture

dserp 4

#2
Harisgillani Profile Picture

Harisgillani 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans