CLI for M365 version for script "Get SharePoint List Or Library Permissions And Export It To CSV"#295
Conversation
|
@Adam-it |
|
#geekJoke I made up just now 😋 ... I know not funny 😜... unless it is very late and you are like reeeeelly sleepy.. then it works 😉 |
Adam-it
left a comment
There was a problem hiding this comment.
pulled locally and tested ✅
works nicely ✅
thanks for this contribution 👍
you rock 🤩
@pkbullock awaits your second opinion and processing 🙂
| If ($permissionType -eq 8) { | ||
| # Get members of a SharePoint Group |
There was a problem hiding this comment.
this condition to check if it is 8 is very specific. It's good we have this little comment here 👍 Thank you for that 🙏
Actually it is because the SharePointGroup enum member has 8 value assigned to it

TBH it's a shame that we don't translate it in the CLI response to enum names 🤔 I suppose it may not be that easy 😜. Do you think this may be a good use case to open and issue for a improvement to the CLI for M365 and lets check if this could be done 🤔?
There was a problem hiding this comment.
Thank you @Adam-it for your review.
The issue with possible resolution is created pnp/cli-microsoft365#3379
|
@nanddeepn, thank you!! 👏😊 This should be live shortly 😊 |
Added CLI for M365 version of script Get SharePoint List Or Library Permissions And Export It To CSV.
Closes #277