web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dynamics management of...
Power Apps
Answered

Dynamics management of CDS

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I have created several apps and entities with the CDS and shared with a small group of users.

I needed to use the trigger in flow of 'when an item is created' and the flow failed saying I had not enabled 'change tracking' for this entity in Dynamics 365.

We do not use Dynamics 365 in our organization and I'm not familiar with it but our IT team set my user in Dynamics to 'Administrative' so I could edit the entity and turn on 'change tracking'.

Ever since IT made this change to the admin user, it seems now all permissions for CDS are managed by dynamics. I have users who could previously use apps with CDS but now they get an error when writing to the CDS because no role has been assigned to them in Dynamics.

How do I stop dynamics managing the permissions and go back to how it was before I made this change?

 

Thanks,

Sam

I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please share a bit more about your scenario?

    Could you please show more details about the error message within your app?

    Further, do you create an app based on the Entity within the new version of Common Data Service?

     

    I don't think the Dynamics 365 are managing all permissions for CDS within your PowerApps. In addition, I suppose that you are using the new version of Common Data Service within your PowerApps, is it true?

     

    If you created an app based on Common Data Service (CDS 2.0, new version), when you share this app with other users within your Organization, you must make sure that the users who will run it have the appropriate permissions for the entity or entities on which the app relies.

     

    More details about managing entity permission within PowerApps, please check the following article:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/share-app#manage-entity-permissions

     

    Please consider take a try to create a security role with appropriate permissions for the Enity on which your app relies, and then assign this role to the users who you want to share your app with, then check if the other users has access to this shared app.

     

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    Yes, I'm only using the new version of CDS.

     

    In my scenario I have an app which writes to an entity in the CDS

    I shared this App with a specific user and this user was able to use the app and perform commands that require writing to the CDS.

    After my user was assigned as Admin by IT (so I could turn on change tracking) the same user now gets the following error:

     image.png

    This user does not have any roles assinged to them and assuming the simple solution is to assign one. But my point here is that I did not have to previoulsy do this and this user was able to use the app with the CDS commands. Were they somehow previously assigned a basic role and when I was set to admin it was removed?

    If users need to be assigned roles in this manner, is there a way I can set a default role for users that have access to the application?

     

    Thanks,

    Sam

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Your IT team has assigned a Administrator permission to the users (who you share your app with) within Dynamics 365 rather than Common Data Service (CDS).

     

    If you have assigned a new role to the users, please check if the role has permission to your CDS entity.

     

    In addition, if you want to set a default role for users that has access to your app, I afraid that there is no way to achieve your needs in PowerApps currently.

     

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

     

    More details about the predefined security roles in PowerApps environment, please check the following article:

    https://docs.microsoft.com/en-us/powerapps/administrator/database-security

     

    Best regards,

    Kris

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 522

#2
WarrenBelz Profile Picture

WarrenBelz 437 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 405

Last 30 days Overall leaderboard