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 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

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.

  • André Arnaud de Calavon Profile Picture
    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?
  • MohammedAfeef Profile Picture
    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.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans