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
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
Are you using Invoke-PnPSiteTemplate or Get-PnPSiteTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.
Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues
Reporting an Issue or Missing Feature
Whenever i run Add-PnPGroupMember, there is a good chance that it will not add the group member. I will not receive any error but when checking the sharepoint permissions i will not see the member added. Whenever this occurs, i wait 30 minutes to an hour, and then i'll notice that when i refresh the permissions page of the group, i will get an "sorry something went wrong" error message along with a correlation ID. After navigating back to the same page, the error will be gone. Afterwards when i run the command again it will now work for the time being until again it doesn't. This cycle then repeats itself with the error appearing on the page.
Expected behavior
Expect Add-PnPGroupMember to add the users to the permissions group every time.
Actual behavior
I will run Add-PnPGroupMember and it will not work. 30 -60 minutes later an "Sorry something went wrong" error message appears on the page of the permissions group that i tried running the Add-PnPGroupMember command on. After navigating back to that permissions group page, i can run the Add-PnPGroupMember command without issue for the time being until the cycle repeats itself.
Steps to reproduce behavior
Running Add-PnPGroupMember, sometimes several times until it stops working, sometimes it happens right away. This happens both when running the command by itself or as part of a script. No error will be displayed in powershell. When viewing the permissions group, the user will not have been added in. After 30-60 minutes when refreshing the permissions group page the "Sorry something went wrong" error appears with a correlation ID. Afterwards the command will work again for the next couple tries or so. Of note is that i am on a mac machine, and using remote desktop to access a windows machine with powershell to run the commands.
What is the version of the Cmdlet module you are running?
2.10.0
Which operating system/environment are you running PnP PowerShell on?
This discussion was converted from issue #4199 on August 30, 2024 09:07.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
Invoke-PnPSiteTemplate
orGet-PnPSiteTemplate
? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.Reporting an Issue or Missing Feature
Whenever i run Add-PnPGroupMember, there is a good chance that it will not add the group member. I will not receive any error but when checking the sharepoint permissions i will not see the member added. Whenever this occurs, i wait 30 minutes to an hour, and then i'll notice that when i refresh the permissions page of the group, i will get an "sorry something went wrong" error message along with a correlation ID. After navigating back to the same page, the error will be gone. Afterwards when i run the command again it will now work for the time being until again it doesn't. This cycle then repeats itself with the error appearing on the page.
Expected behavior
Expect Add-PnPGroupMember to add the users to the permissions group every time.
Actual behavior
I will run Add-PnPGroupMember and it will not work. 30 -60 minutes later an "Sorry something went wrong" error message appears on the page of the permissions group that i tried running the Add-PnPGroupMember command on. After navigating back to that permissions group page, i can run the Add-PnPGroupMember command without issue for the time being until the cycle repeats itself.
Steps to reproduce behavior
Running Add-PnPGroupMember, sometimes several times until it stops working, sometimes it happens right away. This happens both when running the command by itself or as part of a script. No error will be displayed in powershell. When viewing the permissions group, the user will not have been added in. After 30-60 minutes when refreshing the permissions group page the "Sorry something went wrong" error appears with a correlation ID. Afterwards the command will work again for the next couple tries or so. Of note is that i am on a mac machine, and using remote desktop to access a windows machine with powershell to run the commands.
What is the version of the Cmdlet module you are running?
2.10.0
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions