New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New command: site apppermission list #2206
Comments
Looking at the spec again, I wonder if it won't be confusing with regular user and group permissions you can configure on a site and if we shouldn't disambiguate these commands by adding |
Oh that is very true - too focused on apps and the new fresh Sites.Selected I guess. What we actually discuss is to retrieve "grantedToIdentities" of type "application". "grantedToIdentities" can also be other things such as user, at least when you fire off /permissions on an item/document. I have seen no samples where you on sites get back anything but application. Tried it out by sharing the site to an external user which does not show in the response when I do /permissions on the site object. Bottom line, I am all for changing the noun to apppermission to be on the safe and least confusing side. Let me know and I'll update across the board. Also was my short suggestions OK? |
Shall we go with |
Yes, let's do it 💪👍- I'll update the issues |
Let's use |
🙋♂️ I'd be happy to give this a go |
Awesome! Appreciate your help 👏 |
Usage
spo site apppermission list [options]
Description
Lists the AAD applications granted permission to a SharePoint site collection.
Options
-u, --siteUrl <siteUrl>
-i, --appId [appId]
-n, --appDisplayName [appDisplayName]
-o, --output [output]
json,text
. Defaulttext
--verbose
--debug
Remarks
Pass in appId and/or addDisplayName to filter by that app
Grah api docs
https://docs.microsoft.com/en-us/graph/api/site-list-permissions?view=graph-rest-1.0&tabs=http
Initial spec discussion: #2169
The text was updated successfully, but these errors were encountered: