cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cnr
Advocate II
Advocate II

Sharing Dataverse Permission with an External User

Hi all,

 

Ive shared my app with my gmail account so as to test the issues in deployment. I notice that I get this error.

 

My data is stored in Dataverse, how would I grant an external user access to it so that the app works correctly ?

 

cnr_0-1642589537055.png

 

Many thanks

Conor

1 ACCEPTED SOLUTION

Accepted Solutions
Sunidhigambhir1
Helper II
Helper II

Hello,

In Azure AD, select New guest user.

the guest user doesn't already have a license in their environment, assign a license to the guest user.
After that Sign in to Power Apps.

On the left pane, select Apps.

On the command bar, select Share.

Enter an email address for a guest user from an Azure AD tenant.

You can also share the app URL directly with the guest instead.

 

View solution in original post

6 REPLIES 6
bipinshan
Solution Sage
Solution Sage

Hi @cnr ,

 

You will have to add your extenal user as Guest user in your Azure AD. Please see below link for more details -

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/share-app-guests

 

Regards,

Bipin Kumar
Follow my Blog: https://xrmdynamicscrm.wordpress.com/

Kudos and Accept my answer if helpful!

rampprakash
Super User
Super User

Hello @cnr,

 

Is it a Canvas App, if it is a Canvas App, as Suggested by @bipinshan  create an User in Azure and Assign Role to the GMAIL Account.

 

If you are expecting the user to be in Dataverse then you need to have User In Office 365 and Assign Proper License to get it done. Gmail account cannot Access Direct Model-Driven App

 

Please mark as Answer if it is helpful and provide Kudos


Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com

v-qiaqi-msft
Community Support
Community Support

Hi @cnr,

Do you want to share an app with externals?

Could you please tell me if external users are guests in your Azure AD?

 

You should know that only adding external users to your Azure AD as guests is not enough. You should assign them a license. Only a User role could be assigned, also, for yourself, you must be a global, license, or a user admin to add users and assign licenses.

Best Regards,
Qi

Hi @v-qiaqi-msft 

 

I have added the guest user in Azure and assigned them a license

cnr_0-1643383301525.png

 

Once I send this invitation I get the below:

cnr_1-1643383482880.png

Upon opening the App from my Gmail account I get the below screen:

cnr_2-1643383746253.png

Once I sign in I get an error message telling me that I don't have permission to view the data.

cnr_3-1643383850162.png

 

My understanding is that I must also allow access to the data right? I am storing this on Dataverse. But I don't know how to allow access to it? - would love to know if you have any insight on this  

 

Many thanks

Conor

Sunidhigambhir1
Helper II
Helper II

Hello,

In Azure AD, select New guest user.

the guest user doesn't already have a license in their environment, assign a license to the guest user.
After that Sign in to Power Apps.

On the left pane, select Apps.

On the command bar, select Share.

Enter an email address for a guest user from an Azure AD tenant.

You can also share the app URL directly with the guest instead.

 

swapnilkaware
Helper I
Helper I

add your external user as Guest user in your Azure Active Directory. from the Azure Active Directory select new guest user you have to provide them license. then go to the power apps login with your credential once you login 

from your environment left navigation bar select apps and click on ellipse select Share Enter an email address for a guest user from an Azure Active Directory.

 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,795)