Skip to content

Fix permission option in spo site apppermission add and set #3353

Description

@martinlingstuyl

The spo site apppermission add and spo site apppermission set commands contain the following description for the --permission option:

Permission to site (read, write, read,write). If multiple permissions have to be granted, they have to be comma separated ex. read,write

It seems that this is in fact incorrect. You either use read or write. The write permission includes the read permission automatically.

Also see the PnP PowerShell equivalent Grant-PnPAzureADAppSitePermission here.

Also, the PnP PowerShell commandlet Set-PnPAzureADAppSitePermission allows to update the permissions to manage or fullcontrol as well.

It would be awesome if we would fix this and expand it at the same time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions