Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

D365 FO error with powerApp "Error when trying to retrieve data from the network: Unauthorized"

(3) ShareShare
ReportReport
Posted on by 12

Hello everyone,

 

I developed an application in the development environment of my organization. This application displays employee data extracted from Microsoft Dynamics 365 Finance and Operations (D365 FO) using Data Entities. When testing the application using multiple accounts within my organization, the data retrieval process was successful without any issues.

 

After that, I shared the application with a user outside my organization, who has access to my D365 environment, granting them all the necessary permissions within the system. This user was also able to view the data successfully.

 

Current issue:

I have finished testing the application in the development environment, and I now want to change the data source of the application to retrieve data from another company instead of my company's data. To transfer the application:

 

I migrated the application's connectors to the client's environment.

I ensured that the same entities exist in the client's environment.

However, when trying to retrieve the client's data from their environment, I encountered a problem. I receive the error message:

 

And I can only access the client's data using the account with which I created the application.

 

I tried using the account with which I created the application, and the data was retrieved successfully.

When using accounts from my organization or other accounts belonging to the client, I cannot retrieve the data.

I want to understand why I can only access the client's data using my personal account, and how I can enable other accounts to access this data.

 

If there is any part that needs further clarification, please let me know to provide the required details.

  • MohammedAfeef Profile Picture
    MohammedAfeef 12 on at
    D365 FO error with powerApp "Error when trying to retrieve data from the network: Unauthorized"
    hello André,
    I'm using (Fin & Ops Apps (Dynamics 365)) connector,
    yes the users have accounts in D365 and they have roles,
    the user I'm testing the app with is a system admin in D365 FO.
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,391 Super User 2024 Season 2 on at
    D365 FO error with powerApp "Error when trying to retrieve data from the network: Unauthorized"
    Hi,
     
    What connector did you use for the Power App? The Dataverse or Fin&Ops connector? Are the users set up in Dynamics 365 and do they have a role assigned?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans