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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Removing a user/member...
Power Automate
Unanswered

Removing a user/member of MS teams site/O365 group

(0) ShareShare
ReportReport
Posted on by 5

Hi, 
I'm fairly new to Power Automate and I'm trying to build a flow which is dependent on a manager completing a form to confirm removal of a member (or user) from the MS Teams site access / O365 group access. Along the way it logs the form responses in a list I've created in the Sharepoint site. 

 

I've started the process of building the flow as follows:
Start of flow processStart of flow process

Middle to end flow process - where error occursMiddle to end flow process - where error occurs

And when I test the flow by completing the form, there's an error when it gets to the 'Remove member from group' section and the error is as follows: 

Error detailsError detailsError details - status code 405Error details - status code 405

 

As a newbie to Power Automate, what do I need to do to rectify the error? Is there an action I need to insert to get the flow going? If so, which one is it? Or do I need to do something different?

Please can anyone help? Any plain language advice you can give a newbie would be much appreciated!

Categories:
I have the same question (0)
  • Verified answer
    PrasadAthalye Profile Picture
    on at

    How are you getting user information from the Form that needs to be removed? Is it an email address OR Principal Name? If yes, you can get User Profile and then User User Principal Name to delete...

     

    PrasadAthalye_0-1616522977269.png

     

  • EmW8080 Profile Picture
    5 on at

    Thanks @PrasadAthalye this seems to have done the trick - much appreciated!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard