pnp / powershell

PnP PowerShell
https://pnp.github.io/powershell
MIT License
684 stars 351 forks source link

Add-PnPMicrosoft365GroupOwner : Adding user and changing role manually shows weird behavior #4544

Closed KarishmaSahuji closed 1 week ago

KarishmaSahuji commented 2 weeks ago
Originally posted by **KarishmaSahuji** November 11, 2024 Hi Team, I am using Add-PnPMicrosoft365GroupOwner command to add owners in my site . But, after adding owners , if I manually go to my SharePoint site and change the role of the newly added Owner to Member , the user disappears completely. Also, I noticed when I try this again and again , the group disappears from Outlook. So we checked the following: Case 1: add user to a group using Add-PnPMicrosoft365GroupOwner command try to change the role user is removed Case 2: add user from outlook or directly from azure try to change the role user stays with the role change Any help here will be much appreciated. Thanks and Regards, Karishma Sahuji