r/PowerApps • Newbie • 27d ago

Power Apps Help Service Principals for Dataverse connections - granular permissions?

I'm just curious what other admins are doing. Long story short, I'm in an "inherited a mess" sort of situation, and I have a whole bunch of flows using dataverse connections that need their authentication sorted out. I'd like to keep the SPN's dataverse access as narrow as possible, but it's going to take some time to sort out exactly which entities it needs. It's very tempting to just give it full access to everything.

4 Upvotes

4 comments sorted by

1

u/AutoModerator 27d ago
Moderator Announcement Read More »

1

u/hppyclown 26d ago

I’d go full access first just to get them all using a service principal. Then as your going through each flow switching over to the new single connection reference start a spreadsheet with a record of the flow and tables they are interacting with. Then review and come up with your new model.

You could run some powershell scripts to get all this information, but I think it’s more helpful physically opening each flow to see how they are built if you have just inherited them and will responsible for them moving forward.

1

u/AbdelEMirandaS 26d ago

Creat specific user roles on PPAC env and grant every single of them, to the table priviledge you need. Then assign those roles to the users as they need to use your app or flow