@pnp/cli-microsoft365 6.9.0-beta.d8f8efb → 6.9.0-beta.ef7c408
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.devcontainer/Dockerfile +12 -19
- package/.devcontainer/devcontainer.json +24 -17
- package/Dockerfile +3 -1
- package/dist/Auth.js +2 -8
- package/dist/AuthServer.js +2 -4
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +23 -24
- package/dist/m365/aad/commands/o365group/o365group-set.js +15 -20
- package/dist/m365/aad/commands/sp/sp-list.js +78 -0
- package/dist/m365/aad/commands.js +1 -0
- package/dist/m365/app/commands/app-open.js +4 -14
- package/dist/m365/cli/commands/cli-issue.js +4 -10
- package/dist/m365/cli/commands/cli-reconsent.js +2 -8
- package/dist/m365/commands/docs.js +2 -8
- package/dist/m365/commands/setupPresets.js +2 -0
- package/dist/m365/flow/commands/flow-list.js +30 -12
- package/dist/m365/flow/commands/flow-remove.js +2 -3
- package/dist/m365/flow/commands/run/run-resubmit.js +11 -10
- package/dist/m365/outlook/commands/message/message-list.js +18 -23
- package/dist/m365/outlook/commands/message/message-move.js +15 -20
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +19 -20
- package/dist/m365/spo/commands/file/file-checkout-undo.js +119 -0
- package/dist/m365/spo/commands/list/list-add.js +1 -1
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/util/commands/accesstoken/accesstoken-get.js +10 -7
- package/dist/utils/browserUtil.js +23 -0
- package/docs/docs/cmd/aad/sp/sp-list.mdx +162 -0
- package/docs/docs/cmd/flow/flow-list.mdx +15 -0
- package/docs/docs/cmd/setup.mdx +2 -0
- package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +55 -0
- package/docs/docs/cmd/util/accesstoken/accesstoken-get.mdx +12 -2
- package/npm-shrinkwrap.json +299 -272
- package/package.json +17 -17
|
@@ -26,9 +26,13 @@ m365 util accesstoken get [options]
|
|
|
26
26
|
|
|
27
27
|
## Remarks
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
:::tip
|
|
30
|
+
|
|
31
|
+
Instead of specifying the full URL of the resource, you can use one of the following shorthand identifiers: `sharepoint`, `graph`.
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
:::
|
|
34
|
+
|
|
35
|
+
The `util accesstoken get` command returns an access token for the specified resource. If an access token has been previously retrieved and is still valid, the command will return the cached token. If you want to ensure that the returned access token is valid for as long as possible, you can force the command to retrieve a new access token by using the `--new` option.
|
|
32
36
|
|
|
33
37
|
## Examples
|
|
34
38
|
|
|
@@ -44,6 +48,12 @@ Get access token for SharePoint Online using the shorthand identifier
|
|
|
44
48
|
m365 util accesstoken get --resource sharepoint
|
|
45
49
|
```
|
|
46
50
|
|
|
51
|
+
Get access token for Microsoft Graph using the shorthand identifier
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
m365 util accesstoken get --resource graph
|
|
55
|
+
```
|
|
56
|
+
|
|
47
57
|
Get a new access token for SharePoint Online
|
|
48
58
|
|
|
49
59
|
```sh
|