You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.
Add-PnPGroupMember -LoginName "[email protected]" -Group "Name of my group"
results in an exception:
{"odata.error":{"code":"-2147024891, System.UnaothrizedAccessException","message" .... "value: Access denied- You do not have perission to perform this action"}
Doing the same as the same user using the GUI (Browser) works fine (User is Site-Owner).
Pnp.PwoerShell Version 1.3
The code was working before updating to 1.3 and changing from Add-PnPUserToGroup to Add-PnPGroupMember.
Went back to Version 1.2.0 - everything works well.
The text was updated successfully, but these errors were encountered:
On Wed, Feb 24, 2021, 6:08 PM Mario Longhi ***@***.***> wrote:
Also getting this error. Contacting with MS support since I couldn't find
a way to open an issue here.
Now I found it by googling.
Note that I also have the same issue with the command:
Set-PnPGroupPermissions
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1927 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQOIALDBJ5ZT7SQOJLDKFSTTAWBHFANCNFSM4YC6BKRQ>
.
Hi,
simply doing a
Connect-PNPOnline -Url https://...... -UseWebLogin -ReturnConnection
followed by a
Add-PnPGroupMember -LoginName "[email protected]" -Group "Name of my group"
results in an exception:
{"odata.error":{"code":"-2147024891, System.UnaothrizedAccessException","message" .... "value: Access denied- You do not have perission to perform this action"}
Doing the same as the same user using the GUI (Browser) works fine (User is Site-Owner).
Pnp.PwoerShell Version 1.3
The code was working before updating to 1.3 and changing from Add-PnPUserToGroup to Add-PnPGroupMember.
Went back to Version 1.2.0 - everything works well.
The text was updated successfully, but these errors were encountered: