Skip to content

New command: site apppermission add #2208

@fthorild

Description

@fthorild

Usage

site apppermission add [options]

Description

Adds a permission object to a site.

Options

Option Description
-u, --siteUrl <siteUrl> The site collection url
-p, --permission <permission> Permission to site, (read, write or read and write)
-i, --appId [appId] App Id
-n, --appDisplayName [appDisplayName] App display name
-o, --output [output] Output type. json,text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Remarks

Pass in appId and/or addDisplayName, use both for best performance avoiding the extra lookup

Grah api docs

https://docs.microsoft.com/en-us/graph/api/site-post-permissions?view=graph-rest-1.0&tabs=http

Initial spec discussion: #2169

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions