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 Automate / How do I grant access ...
Power Automate
Unanswered

How do I grant access and revoke access to a record in d365 using power automate?

(0) ShareShare
ReportReport
Posted on by 8

Hello

I'm trying to grant a user access (read and write) to a record with Power Automate. But first I would like to revoke access to all previous users. How is that possible?

Or is there a way to add and remove users from an Access Team?

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

    Hi @BL2,

     

    There is no direct action could manage a record access permission in d365. 

    As a workaround, you could use request API to remove a user from the MS teams, here is document about this API, please refer to it:

    https://docs.microsoft.com/en-us/graph/api/team-delete-members?view=graph-rest-1.0&tabs=http 

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • BL2 Profile Picture
    8 on at

    Thank you for your answer. I found this here as a partial solution:

    https://onlinemgblog.wordpress.com/2020/07/20/power-automate-share-record-using-unbound-action/

    But here I still have the problem of how I can pass several attributes (e.g. read and write) and how can I revoke access?

    In the unbound actions there is an entry "RevokeAccess" but here I am missing the code to revoke access again?

  • BL2 Profile Picture
    8 on at

    Nobody has an idea on this topic? I can not imagine that this no one has brought.

  • CU24081841-5 Profile Picture
    2 on at

    I need solution for that, hope by now you have an idea about that.

    Thanks in advance, reply is much appreciated. 

  • BL2 Profile Picture
    8 on at

    Unbound Actions GrantAccess and RevokeAccess | Power Automate Exchange (flowug.com)

     

    We've discussed this topic extensively in this thread. It is possible to share the data sets using Powerautomate. However, in order to withdraw the rights again, one must withdraw the rights from everyone.

     

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 Automate

#1
Haque Profile Picture

Haque 569

#2
Valantis Profile Picture

Valantis 484

#3
Vish WR Profile Picture

Vish WR 460

Last 30 days Overall leaderboard