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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Unauthorized to access OData feed in Excel

(0) ShareShare
ReportReport
Posted on by 3,045

Hello All,

I have created New data entity in the basis of new table and i have also set IsPublic property to yes but when I am trying to access Odata url in Excel it is giving me below error and I have doing all this by administrator login.

Error:- We couldn't connect to the data source. Please check your login information.

Here is the error message we got: The remote server returned an error:(401)  Unauthorized

Please help. 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mahesh Ambati Profile Picture
    105 on at
    RE: Unauthorized to access OData feed in Excel

    if you are using Excel 2016 to connect OData feed follow below steps to connect using URL.

    Open Excel --> go to Data tab --> New query --> From Other sources --> From OData Feed

    now enter the URL and proceed further, now provide appropriate authentication details to connect data feed in AX.

  • Pooja Karki Profile Picture
    3,045 on at
    RE: Unauthorized to access OData feed in Excel

    Hi Martin,

    No it is not working and it is not asking for AAD credentials insisted of this it is showing below error and in my system internet is working fine:

    Sorry We can't load the add-in. Please make sure you have network and/ or internet Connectivity. Click "retry" once you are back online.

  • Martin Dráb Profile Picture
    235,961 Most Valuable Professional on at
    RE: AX 7 Odata access in Excel

    Does it work if you use the Data Connector App in Excel instead of adding the feed directly? It should ask you for your AAD credentials.

    And has the user permissions (in Dynamics AX) to use the data entity?

  • Pooja Karki Profile Picture
    3,045 on at
    RE: AX 7 Odata access in Excel

    Thanks for giving idea about new option but I want to call data through OData Feed option in Excel by using OData Url and when I am doing this I am getting above error which is related to the authorization.

  • Mea_ Profile Picture
    60,284 on at
    RE: AX 7 Odata access in Excel

    Hi Pooja Karki,

    What do you mean under "access url in excel" ? Nice and easy way is to go to Common -> Office Integration -> Excel workbook designer and generate workbook for your entity.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans