pnp / prompt-pulse

Prompt Pulse is a free Microsoft Teams Power App enabling users to schedule and share Microsoft 365 Copilot prompts via Adaptive Cards to Teams, Group Chats and Viva Engage communities. It uses SharePoint as a data source. Prompt Pulse integrates with Prompt Buddy.
MIT License
9 stars 1 forks source link

Permission Error in GetGroupChats.Run - Missing ReadAccess for Process Entity #16

Open Amin-zare opened 2 months ago

Amin-zare commented 2 months ago

When running the prompt-pulse, I receive the following error: user with id 9f1aea44-f21b-ef11-840a-000d3ab7fb81 does not have ReadAccess rights for record 995d77af-f55f-ef11-bfe4-7c1e521e4863 of entity Process.

Additionally, I don’t see any options under the drop-down menus for Community and Group Chat. Please advise on how to resolve these issues or if there's a configuration step I missed.

I have followed all the installation steps successfully and used the correct service account, but the issue persists. Please advise on how to resolve this 2024-09-13_16h03_03

alexc-MSFT commented 2 months ago

@Amin-zare did you deploy the solution in the default environment OR another powerapps environment?

What you may need to do is add all users who will use prompt pulse into a security role in that environment, I think the error relates to them not having permission to read the flow itself.

Let me know how you get on.

Amin-zare commented 2 months ago

Hi Alex, Thanks for the feedback! I'll take a look at it and add all the users to the security group to ensure they have the correct permissions. I'll let you know if I run into any issues.

alexc-MSFT commented 1 month ago

@Amin-zare no worries, let me know how you get on. FYI we are currently building some integration between Prompt Buddy and Prompt Pulse so watch this space. Thanks

carolinacadenas commented 1 month ago

What security role is recommended? Basic User? Thank you!

alexc-MSFT commented 1 month ago

@carolinacadenas Basic User should be enough. Thanks