Replies: 6 comments 10 replies
-
You may want to upgrade to the latest NOTE: You will need PS 7.2 at the minimum for PnP PowerShell v2 |
Beta Was this translation helpful? Give feedback.
-
For several reasons I need to stick to PS5.1. Is there than no solution?
Sent from Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Veronique Lengelle ***@***.***>
Sent: Thursday, October 12, 2023 8:58:33 PM
To: pnp/powershell ***@***.***>
Cc: Marc VANDERSTRAETEN ***@***.***>; Author ***@***.***>
Subject: Re: [pnp/powershell] [BUG] Set-PnPGroupPermissions stopped working today!!! (Issue #3486)
You may want to upgrade to the latest 2.2.0 for the major version (or even a nightly one), because I have no issue on my side.
NOTE: You will need PS 7.2 at the minimum for PnP PowerShell v2
[image]<https://user-images.githubusercontent.com/25181757/274704342-44d2da7c-4b3a-4b14-9396-65d8f27b6204.png>
—
Reply to this email directly, view it on GitHub<#3486 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAFZGWNHRXHONCBVVPFDZULX7A4VTAVCNFSM6AAAAAA55YHMX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRQGIYDQNRSGQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
You may try to use CSOM directly, but we do not support PS5 anymore. |
Beta Was this translation helpful? Give feedback.
-
Could you provide with the csom code?
Sent from Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Veronique Lengelle ***@***.***>
Sent: Thursday, October 12, 2023 9:35:18 PM
To: pnp/powershell ***@***.***>
Cc: Marc VANDERSTRAETEN ***@***.***>; Author ***@***.***>
Subject: Re: [pnp/powershell] [BUG] Set-PnPGroupPermissions stopped working today!!! (Issue #3486)
You may try to use CSOM directly, but we do not support PS5 anymore.
—
Reply to this email directly, view it on GitHub<#3486 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAFZGWNSOH5LRY4KYU5SSHDX7BA7NAVCNFSM6AAAAAA55YHMX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRQGI2TIMJVGA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@AndersRask Upon your request, I tried again today... PS C:\GitHub\ACEA\PowerShell\Scripts> Set-PnPGroupPermissions -Identity $MembersGroupName -List "Documents" -AddRole @('OpenWithCreateAlerts') Gives an error:
The full stack trace ($error[0] | fl * -force) |
Beta Was this translation helpful? Give feedback.
-
IMPORTANT !!! • After searching and a lot of trial and error, I found this ... Saying it works in ISE for 5.1 but NOT in VS code and apparently upgrading to 7.X doesn't help! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The following code never had any issue to run since years...
Set-PnPGroupPermissions -Identity $MembersGroupName -List "SiteAssets" -AddRole @('Read') # FOR NEW
As of today, the code doesn't work anymore :-(
THIS IS FOR US VERY URGENT!
What is the version of the Cmdlet module you are running? 1.12.0
Which operating system/environment are you running PnP PowerShell on?
[X ] Windows
Linux
MacOS
Azure Cloud Shell
Azure Functions
Other : please specify
THIS ISSUE WAS ALREADY POSTEN LAST YEAR TOO!
#2244
Beta Was this translation helpful? Give feedback.
All reactions