Issue: Guest users accessing Canvas App connected with MS Dataverse

Issue Context:

We have a Power App’s Canvas App which is using MS Dataverse as datasource.

The app is shared with a range of users who are both internal (AD Users in the tenant) and external users (guest users).

All the users have access to both canvas app and all underlaying dataverse tables & schema. Guest users have guest accounts in the tenant and members of an Azure AD Security Group. The group has been granted access to the app and has been assigned a security role. All the guest users have valid Power Apps Premium licenses in their respective tenants.

The guest accounts always get the following error when they access part of the app that accesses dataverse:

Observation

In further review, it was observed that the issue is coming up because the guest accounts are not added to the environment as users. The issue occurs only with guest account but not with internal user accounts.

Solution

Adding the guest accounts to the environment as users resolved the issue.

It is a challenge when you have large number guest users. Writing a power automate flow or a batch process can help you adding the users.

Leave a comment

Create a website or blog at WordPress.com