When you make an application that has permissions through dataverse you may want to do a specific action when a member is added or removed from an Access team. In this post I will show you how you can track this changes and trigger a Power Automate to do actions after every change.
First you are going to set up a Power Automate than accepts an http call.
Next in the plugin registration tool create a new webhook.
In the EndPoint URL fill in the url that was created in de Power Automate trigger from the previous step.
In the Authentication fill in “HttpQueryString”.
First we are going to check for people that are added to the access team.
Create a new step in the newly created webhook.
In the message add “Associate”
Make sure that its a “PostOperation” execution.
After this you can close and save this step.
Next we are going to check for people that are removed from the access team.
Create another step in the webhook.
In the message add “Disassociate”
Make sure that its a “PostOperation” execution.
After this you can close and save this step..
If you finished these steps you can now try to add or remove a user from a Access team. You will see that the Power Automate will trigger and do the actions you have set up.
Plaats een reactie