Skip to main content

Notifications

Announcements

No record found.

Customer Service forum
Answered

Have customer access their cases via a PowerApp - possible?

Posted on by 35

Good evening,

I am trying to achieve the following:

  • I want to build a solution in PowerApps which is shipped to customers. These customers install and run the application from their tenant. 
  • As part of this solution, they could be able to create and work on Cases in our central Dynamics environment by a model driven PowerApp which simply is built on the "Cases"-dataverse table

Since I do not have the environment setup to test this out: will this work?

I am thinking two issues:

  1. Datasource: is it possible to use the Dataverse connector to connect to an external tenant?
  2. Dynamics license: whats the impact on my Dynamics licenses?

The naive solution which my brain spits out is: create a user in your Dynamics environment for this customer, use the customer/service principal? to connect to the Dataverse and you are done - including security.

But that surely is too easy?

Has anyone done that already?

Thanks
Pete

  • Petem34 Profile Picture
    Petem34 35 on at
    RE: Have customer access their cases via a PowerApp - possible?

    Thank you Leah for the great feedback!

  • Verified answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: Have customer access their cases via a PowerApp - possible?

    Hi Petem34,

    What's type of the user you mentioned? 

    application user?

    (1)Register app in Azure Active Directory:

    App registration in Azure Active Directory, enables a user with Power Apps user account to connect to their Microsoft Dynamics/ Dataverse environment from external client applications using OAuth Authentication.

    https://www.c-sharpcorner.com/article/how-to-register-an-app-in-azure-active-directory-for-dynamics-365-ce-online/ 

    (2) Create An Application User

    https://www.c-sharpcorner.com/article/how-to-create-an-application-user-in-dynamics-365-ce-online/ 

    Please refer to the following links for more detailed steps:

    https://readyxrm.blog/2020/10/30/how-to-setup-a-common-data-service-application-user-and-why/ 

    powermaverick.dev/.../

    1.Datasource: is it possible to use the Dataverse connector to connect to an external tenant?

    When you register application, you can select multitenant option:

    pastedimage1678330527225v1.png

    2.Dynamics license: whats the impact on my Dynamics licenses?

    Application user wouldn’t consume a license in your dynamics environment.

    ==============================

    Or you can create guest uses for these customers, and  it can consume a license:

    debajmecrm.com/.../

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans