
I have a powerapp which gets data from PowerBi dataset.
The flow triggers from the app when user clicks on a button to view his items, and user's email is getting the flow triggered. but for some users the flow throws error.
Please look at the error and flow.
Error on app
Hi , @zainab1
The 401 error code mean unauthorized which means the users who click the button have no access to your dataset.
You need to check if the user have dataset read and build permissions, For more information, you can refer to :
Manage semantic model access permissions - Power BI | Microsoft Learn
Datasets - Execute Queries - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Or you can share your flow with run only user with the special connection.
For more information, you can refer to :
Manage owners and users in your Microsoft list flows with Power Automate | Microsoft Learn
If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance!
Best Regards,
Yueyun Zhang