@pnp/cli-microsoft365 6.8.0-beta.f473be5 → 6.8.0
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/.eslintrc.js +2 -0
- package/README.md +6 -1
- package/dist/Command.js +6 -0
- package/dist/chili/chili.js +298 -0
- package/dist/chili/index.js +20 -0
- package/dist/cli/Cli.js +2 -2
- package/dist/m365/aad/commands/user/user-add.js +30 -21
- package/dist/m365/app/commands/permission/permission-add.js +279 -0
- package/dist/m365/app/commands.js +1 -0
- package/dist/m365/commands/commands.js +2 -0
- package/dist/m365/commands/docs.js +42 -0
- package/dist/m365/commands/login.js +1 -1
- package/dist/m365/commands/setup.js +180 -0
- package/dist/m365/commands/setupPresets.js +25 -0
- package/dist/m365/pa/commands/app/app-consent-set.js +101 -0
- package/dist/m365/pa/commands.js +1 -0
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +97 -0
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +85 -0
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +89 -0
- package/dist/m365/purview/commands.js +3 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.2.js +25 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN001035_DEP_fluentui_react.js +18 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021009_PKG_no_duplicate_oui_deps.js +11 -4
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001035_DEP_fluentui_react.js +18 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.2.js +61 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
- package/dist/m365/spfx/commands/spfx-doctor.js +29 -30
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +146 -0
- package/dist/m365/spo/commands/file/file-list.js +15 -4
- package/dist/m365/spo/commands/file/file-remove.js +3 -0
- package/dist/m365/spo/commands/list/list-get.js +30 -3
- package/dist/m365/spo/commands/list/list-list.js +39 -2
- package/dist/m365/spo/commands/listitem/listitem-batch-set.js +308 -0
- package/dist/m365/spo/commands/page/page-section-add.js +2 -3
- package/dist/m365/spo/commands/site/site-recyclebinitem-move.js +119 -0
- package/dist/m365/spo/commands/site/site-recyclebinitem-remove.js +106 -0
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +30 -39
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +47 -0
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +151 -0
- package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +152 -0
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +203 -0
- package/dist/m365/spo/commands/term/term-add.js +13 -4
- package/dist/m365/spo/commands/term/term-get.js +14 -5
- package/dist/m365/spo/commands/term/term-group-get.js +12 -3
- package/dist/m365/spo/commands/term/term-group-list.js +39 -4
- package/dist/m365/spo/commands/term/term-list.js +18 -9
- package/dist/m365/spo/commands/term/term-set-add.js +13 -4
- package/dist/m365/spo/commands/term/term-set-get.js +12 -3
- package/dist/m365/spo/commands/term/term-set-list.js +12 -3
- package/dist/m365/spo/commands.js +9 -0
- package/dist/m365/teams/commands/chat/chat-member-remove.js +137 -0
- package/dist/m365/teams/commands.js +1 -0
- package/dist/utils/formatting.js +35 -11
- package/dist/utils/pid.js +5 -0
- package/docs/docs/cmd/aad/o365group/o365group-get.md +0 -12
- package/docs/docs/cmd/aad/user/user-add.md +4 -0
- package/docs/docs/cmd/aad/user/user-set.md +2 -2
- package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +13 -13
- package/docs/docs/cmd/app/app-get.md +25 -6
- package/docs/docs/cmd/app/app-open.md +8 -2
- package/docs/docs/cmd/app/permission/permission-add.md +53 -0
- package/docs/docs/cmd/app/permission/permission-list.md +19 -19
- package/docs/docs/cmd/booking/business/business-get.md +30 -8
- package/docs/docs/cmd/booking/business/business-list.md +17 -8
- package/docs/docs/cmd/cli/cli-consent.md +6 -0
- package/docs/docs/cmd/cli/cli-doctor.md +17 -0
- package/docs/docs/cmd/cli/cli-issue.md +6 -0
- package/docs/docs/cmd/cli/cli-reconsent.md +6 -0
- package/docs/docs/cmd/cli/completion/completion-sh-setup.md +6 -0
- package/docs/docs/cmd/cli/config/config-get.md +6 -0
- package/docs/docs/cmd/docs.md +51 -0
- package/docs/docs/cmd/flow/environment/environment-list.md +18 -0
- package/docs/docs/cmd/flow/flow-get.md +20 -0
- package/docs/docs/cmd/flow/flow-list.md +17 -0
- package/docs/docs/cmd/graph/changelog/changelog-list.md +52 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +61 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-get.md +61 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-list.md +61 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-remove.md +4 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -0
- package/docs/docs/cmd/graph/subscription/subscription-add.md +73 -0
- package/docs/docs/cmd/login.md +1 -1
- package/docs/docs/cmd/onedrive/onedrive-list.md +225 -0
- package/docs/docs/cmd/onedrive/report/report-activityfilecounts.md +39 -0
- package/docs/docs/cmd/onedrive/report/report-activityusercounts.md +39 -0
- package/docs/docs/cmd/onedrive/report/report-activityuserdetail.md +43 -0
- package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.md +38 -0
- package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.md +43 -0
- package/docs/docs/cmd/onedrive/report/report-usagefilecounts.md +38 -0
- package/docs/docs/cmd/onedrive/report/report-usagestorage.md +37 -0
- package/docs/docs/cmd/onenote/notebook/notebook-list.md +79 -0
- package/docs/docs/cmd/pa/app/app-consent-set.md +47 -0
- package/docs/docs/cmd/planner/plan/plan-get.md +1 -1
- package/docs/docs/cmd/planner/plan/plan-list.md +1 -1
- package/docs/docs/cmd/planner/roster/roster-add.md +2 -1
- package/docs/docs/cmd/planner/roster/roster-get.md +1 -1
- package/docs/docs/cmd/planner/roster/roster-remove.md +2 -1
- package/docs/docs/cmd/planner/task/task-get.md +0 -6
- package/docs/docs/cmd/planner/task/task-set.md +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.md +6 -7
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +6 -7
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +4 -4
- package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +4 -4
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +10 -10
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +11 -11
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +10 -10
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +10 -10
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +10 -10
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +12 -12
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +8 -9
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +8 -9
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +8 -8
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +8 -8
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.md +118 -0
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.md +111 -0
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.md +97 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +17 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-list.md +17 -0
- package/docs/docs/cmd/setup.md +86 -0
- package/docs/docs/cmd/spfx/project/project-doctor.md +1 -1
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.md +77 -0
- package/docs/docs/cmd/spo/commandset/commandset-set.md +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-set.md +2 -2
- package/docs/docs/cmd/spo/customaction/customaction-add.md +1 -1
- package/docs/docs/cmd/spo/customaction/customaction-set.md +1 -1
- package/docs/docs/cmd/spo/file/file-list.md +9 -6
- package/docs/docs/cmd/spo/file/file-remove.md +12 -0
- package/docs/docs/cmd/spo/folder/folder-copy.md +1 -1
- package/docs/docs/cmd/spo/list/list-get.md +10 -0
- package/docs/docs/cmd/spo/list/list-list.md +28 -0
- package/docs/docs/cmd/spo/listitem/listitem-batch-set.md +67 -0
- package/docs/docs/cmd/spo/listitem/listitem-list.md +1 -1
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +19 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +12 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +6 -0
- package/docs/docs/cmd/spo/page/page-column-get.md +15 -0
- package/docs/docs/cmd/spo/page/page-column-list.md +16 -0
- package/docs/docs/cmd/spo/page/page-control-get.md +18 -0
- package/docs/docs/cmd/spo/page/page-control-list.md +18 -0
- package/docs/docs/cmd/spo/page/page-copy.md +35 -0
- package/docs/docs/cmd/spo/page/page-get.md +39 -0
- package/docs/docs/cmd/spo/page/page-list.md +53 -0
- package/docs/docs/cmd/spo/page/page-section-get.md +12 -0
- package/docs/docs/cmd/spo/page/page-section-list.md +13 -0
- package/docs/docs/cmd/spo/page/page-template-list.md +31 -0
- package/docs/docs/cmd/spo/propertybag/propertybag-get.md +6 -0
- package/docs/docs/cmd/spo/propertybag/propertybag-list.md +13 -0
- package/docs/docs/cmd/spo/report/report-activityfilecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-activitypages.md +7 -0
- package/docs/docs/cmd/spo/report/report-activityusercounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-activityuserdetail.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagedetail.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagepages.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagestorage.md +7 -0
- package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +20 -0
- package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +18 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +17 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +13 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-move.md +43 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.md +45 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.md +103 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.md +49 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.md +49 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.md +57 -0
- package/docs/docs/cmd/spo/term/term-add.md +107 -6
- package/docs/docs/cmd/spo/term/term-get.md +111 -10
- package/docs/docs/cmd/spo/term/term-group-get.md +71 -5
- package/docs/docs/cmd/spo/term/term-group-list.md +70 -2
- package/docs/docs/cmd/spo/term/term-list.md +80 -8
- package/docs/docs/cmd/spo/term/term-set-add.md +95 -11
- package/docs/docs/cmd/spo/term/term-set-get.md +92 -8
- package/docs/docs/cmd/spo/term/term-set-list.md +85 -5
- package/docs/docs/cmd/teams/app/app-list.md +17 -0
- package/docs/docs/cmd/teams/app/app-publish.md +18 -1
- package/docs/docs/cmd/teams/channel/channel-add.md +20 -0
- package/docs/docs/cmd/teams/channel/channel-get.md +21 -0
- package/docs/docs/cmd/teams/channel/channel-list.md +21 -0
- package/docs/docs/cmd/teams/channel/channel-member-list.md +20 -0
- package/docs/docs/cmd/teams/channel/channel-member-set.md +21 -0
- package/docs/docs/cmd/teams/chat/chat-get.md +22 -0
- package/docs/docs/cmd/teams/chat/chat-list.md +22 -0
- package/docs/docs/cmd/teams/chat/chat-member-list.md +20 -0
- package/docs/docs/cmd/teams/chat/chat-member-remove.md +52 -0
- package/docs/docs/cmd/teams/chat/chat-message-list.md +23 -0
- package/docs/docs/cmd/teams/funsettings/funsettings-list.md +15 -0
- package/docs/docs/cmd/teams/guestsettings/guestsettings-list.md +13 -0
- package/docs/docs/cmd/teams/membersettings/membersettings-list.md +17 -0
- package/docs/docs/cmd/teams/tab/tab-remove.md +1 -1
- package/docs/docs/cmd/todo/list/list-add.md +18 -0
- package/docs/docs/cmd/todo/list/list-get.md +18 -0
- package/docs/docs/cmd/todo/list/list-list.md +18 -0
- package/docs/docs/cmd/todo/task/task-get.md +21 -0
- package/docs/docs/cmd/todo/task/task-list.md +21 -0
- package/docs/docs/cmd/util/accesstoken/accesstoken-get.md +6 -0
- package/docs/docs/cmd/version.md +1 -1
- package/docs/docs/cmd/viva/connections/connections-app-create.md +3 -3
- package/docs/docs/cmd/yammer/group/group-list.md +42 -0
- package/docs/docs/cmd/yammer/message/message-add.md +32 -0
- package/docs/docs/cmd/yammer/message/message-get.md +32 -0
- package/docs/docs/cmd/yammer/message/message-list.md +34 -0
- package/docs/docs/cmd/yammer/network/network-list.md +70 -0
- package/docs/docs/cmd/yammer/report/report-activitycounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-activityusercounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-activityuserdetail.md +7 -0
- package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.md +7 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.md +7 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.md +7 -0
- package/docs/docs/cmd/yammer/user/user-get.md +55 -0
- package/docs/docs/cmd/yammer/user/user-list.md +55 -0
- package/docs/docs/cmd/yammer/yammer-search.md +15 -3
- package/package.json +3 -2
|
@@ -40,6 +40,12 @@ m365 cli completion sh setup
|
|
|
40
40
|
Command completion successfully registered. Restart your shell to load the completion
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
=== "Markdown"
|
|
44
|
+
|
|
45
|
+
```md
|
|
46
|
+
Command completion successfully registered. Restart your shell to load the completion
|
|
47
|
+
```
|
|
48
|
+
|
|
43
49
|
## More information
|
|
44
50
|
|
|
45
51
|
- Command completion: [https://pnp.github.io/cli-microsoft365/user-guide/completion/](https://pnp.github.io/cli-microsoft365/user-guide/completion/)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# docs
|
|
2
|
+
|
|
3
|
+
Returns the CLI for Microsoft 365 docs webpage URL
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 docs [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
--8<-- "docs/cmd/_global.md"
|
|
14
|
+
|
|
15
|
+
## Remarks
|
|
16
|
+
|
|
17
|
+
Configure `autoOpenLinksInBrowser` using [cli config set](../cmd/cli/config/config-set.md) to automatically open the webpage in the default browser.
|
|
18
|
+
|
|
19
|
+
## Examples
|
|
20
|
+
|
|
21
|
+
Returns the CLI for Microsoft 365 docs webpage URL
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
m365 docs
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Response
|
|
28
|
+
|
|
29
|
+
=== "JSON"
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
"https://pnp.github.io/cli-microsoft365/"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
=== "Text"
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
https://pnp.github.io/cli-microsoft365/
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
=== "CSV"
|
|
42
|
+
|
|
43
|
+
```csv
|
|
44
|
+
https://pnp.github.io/cli-microsoft365/
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
=== "Markdown"
|
|
48
|
+
|
|
49
|
+
```md
|
|
50
|
+
https://pnp.github.io/cli-microsoft365/
|
|
51
|
+
```
|
|
@@ -121,3 +121,21 @@ m365 flow environment list
|
|
|
121
121
|
name,displayName
|
|
122
122
|
d87a7535-dd31-4437-bfe1-95340acd55c5,Contoso Environment
|
|
123
123
|
```
|
|
124
|
+
|
|
125
|
+
=== "Markdown"
|
|
126
|
+
|
|
127
|
+
```md
|
|
128
|
+
# flow environment list
|
|
129
|
+
|
|
130
|
+
Date: 2023-05-18
|
|
131
|
+
|
|
132
|
+
## Contoso Environment (/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4)
|
|
133
|
+
|
|
134
|
+
Property | Value
|
|
135
|
+
---------|-------
|
|
136
|
+
name | Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4
|
|
137
|
+
location | europe
|
|
138
|
+
type | Microsoft.ProcessSimple/environments
|
|
139
|
+
id | /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4
|
|
140
|
+
displayName | Contoso Environment
|
|
141
|
+
```
|
|
@@ -417,3 +417,23 @@ m365 flow get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --n
|
|
|
417
417
|
name,displayName,description,triggers,actions
|
|
418
418
|
ca76d7b8-3b76-4050-8c03-9fb310ad172f,My Flow,,OpenApiConnection,"OpenApiConnection-AnalyzeImageV2, Compose, InitializeVariable, OpenApiConnection-HttpRequest, ParseJson, OpenApiConnection-PatchFileItem"
|
|
419
419
|
```
|
|
420
|
+
|
|
421
|
+
=== "Markdown"
|
|
422
|
+
|
|
423
|
+
```md
|
|
424
|
+
# flow get --environmentName "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4" --name "ca76d7b8-3b76-4050-8c03-9fb310ad172f"
|
|
425
|
+
|
|
426
|
+
Date: 2023-05-18
|
|
427
|
+
|
|
428
|
+
## My Flow (/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/ca76d7b8-3b76-4050-8c03-9fb310ad172f)
|
|
429
|
+
|
|
430
|
+
Property | Value
|
|
431
|
+
---------|-------
|
|
432
|
+
name | ca76d7b8-3b76-4050-8c03-9fb310ad172f
|
|
433
|
+
id | /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/ca76d7b8-3b76-4050-8c03-9fb310ad172f
|
|
434
|
+
type | Microsoft.ProcessSimple/environments/flows
|
|
435
|
+
displayName | My Flow
|
|
436
|
+
description | My Flow
|
|
437
|
+
triggers | OpenApiConnection
|
|
438
|
+
actions | OpenApiConnection-AnalyzeImageV2, Compose, InitializeVariable, OpenApiConnection-HttpRequest, ParseJson, OpenApiConnection-PatchFileItem
|
|
439
|
+
```
|
|
@@ -147,3 +147,20 @@ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
|
147
147
|
name,displayName
|
|
148
148
|
00afcb83-df7b-4fe0-ab9c-1542a1dc66a9,Contoso Invoicing Flow
|
|
149
149
|
```
|
|
150
|
+
|
|
151
|
+
=== "Markdown"
|
|
152
|
+
|
|
153
|
+
```md
|
|
154
|
+
# flow list --environmentName "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
|
|
155
|
+
|
|
156
|
+
Date: 2023-05-18
|
|
157
|
+
|
|
158
|
+
## Contoso Invoicing Flow (/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/00afcb83-df7b-4fe0-ab9c-1542a1dc66a9)
|
|
159
|
+
|
|
160
|
+
Property | Value
|
|
161
|
+
---------|-------
|
|
162
|
+
name | 00afcb83-df7b-4fe0-ab9c-1542a1dc66a9
|
|
163
|
+
id | /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/00afcb83-df7b-4fe0-ab9c-1542a1dc66a9
|
|
164
|
+
type | Microsoft.ProcessSimple/environments/flows
|
|
165
|
+
displayName | Contoso Invoicing Flow
|
|
166
|
+
```
|
|
@@ -51,3 +51,55 @@ Get all changes within Microsoft Graph that happend between _2021-01-01_ and _20
|
|
|
51
51
|
```sh
|
|
52
52
|
m365 graph changelog list --startDate '2021-01-01' --endDate '2021-05-01'
|
|
53
53
|
```
|
|
54
|
+
|
|
55
|
+
## Response
|
|
56
|
+
|
|
57
|
+
=== "JSON"
|
|
58
|
+
|
|
59
|
+
```json
|
|
60
|
+
[
|
|
61
|
+
{
|
|
62
|
+
"guid": "2693683c-f49a-4715-a649-edadd3f54aadv1.0",
|
|
63
|
+
"category": "v1.0",
|
|
64
|
+
"title": "Teamwork and communications",
|
|
65
|
+
"description": "Added the **chatMessageActions** enumeration type.\r\\\nAdded the [chatMessageHistoryItem](https://learn.microsoft.com/en-us/graph/api/resources/chatMessageHistoryItem?view=graph-rest-1.0) resource type.\r\\\nAdded the **messageHistory** property to the [chatMessage](https://learn.microsoft.com/en-us/graph/api/resources/chatMessage?view=graph-rest-1.0) resource.\r\\\n",
|
|
66
|
+
"pubDate": "2023-05-18T23:04:05.000Z"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
=== "Text"
|
|
72
|
+
|
|
73
|
+
```text
|
|
74
|
+
category title description
|
|
75
|
+
-------- --------------------------- ----------------------------------------------
|
|
76
|
+
v1.0 Teamwork and communications Added the chatMessageActions enumeration type.
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
=== "CSV"
|
|
80
|
+
|
|
81
|
+
```csv
|
|
82
|
+
guid,category,title,description
|
|
83
|
+
2693683c-f49a-4715-a649-edadd3f54aadv1.0,v1.0,Teamwork and communications,"Added the **chatMessageActions** enumeration type.
|
|
84
|
+
Added the [chatMessageHistoryItem](https://learn.microsoft.com/en-us/graph/api/resources/chatMessageHistoryItem?view=graph-rest-1.0) resource type.
|
|
85
|
+
Added the **messageHistory** property to the [chatMessage](https://learn.microsoft.com/en-us/graph/api/resources/chatMessage?view=graph-rest-1.0) resource.
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
=== "Markdown"
|
|
89
|
+
|
|
90
|
+
```md
|
|
91
|
+
# graph changelog list
|
|
92
|
+
|
|
93
|
+
Date: 2023-05-22
|
|
94
|
+
|
|
95
|
+
## Teamwork and communications
|
|
96
|
+
|
|
97
|
+
Property | Value
|
|
98
|
+
---------|-------
|
|
99
|
+
guid | 2693683c-f49a-4715-a649-edadd3f54aadv1.0
|
|
100
|
+
category | v1.0
|
|
101
|
+
title | Teamwork and communications
|
|
102
|
+
description | Added the \*\*chatMessageActions\*\* enumeration type.
|
|
103
|
+
<br>Added the [chatMessageHistoryItem](https://learn.microsoft.com/en-us/graph/api/resources/chatMessageHistoryItem?view=graph-rest-1.0) resource type.
|
|
104
|
+
<br>Added the \*\*messageHistory\*\* property to the [chatMessage](https://learn.microsoft.com/en-us/graph/api/resources/chatMessage?view=graph-rest-1.0) resource.
|
|
105
|
+
```
|
|
@@ -59,3 +59,64 @@ Create a schema extension with a verified domain
|
|
|
59
59
|
```sh
|
|
60
60
|
m365 graph schemaextension add --id contoso_MySchemaExtension --description "My Schema Extension" --targetTypes Group --owner 62375ab9-6b52-47ed-826b-58e47e0e304b --properties '[{"name":"myProp1","type":"Integer"},{"name":"myProp2","type":"String"}]'
|
|
61
61
|
```
|
|
62
|
+
|
|
63
|
+
## Response
|
|
64
|
+
|
|
65
|
+
=== "JSON"
|
|
66
|
+
|
|
67
|
+
```json
|
|
68
|
+
{
|
|
69
|
+
"id": "extb4lob7o4_MySchemaExtension",
|
|
70
|
+
"description": "My Schema Extension",
|
|
71
|
+
"targetTypes": [
|
|
72
|
+
"Group"
|
|
73
|
+
],
|
|
74
|
+
"status": "InDevelopment",
|
|
75
|
+
"owner": "19b5bd1f-3d5e-404a-80f5-ca840b40a082",
|
|
76
|
+
"properties": [
|
|
77
|
+
{
|
|
78
|
+
"name": "myProp1",
|
|
79
|
+
"type": "Integer"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "myProp2",
|
|
83
|
+
"type": "String"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
=== "Text"
|
|
90
|
+
|
|
91
|
+
```text
|
|
92
|
+
description: My Schema Extension
|
|
93
|
+
id : extuf4mntoy_MySchemaExtension
|
|
94
|
+
owner : 19b5bd1f-3d5e-404a-80f5-ca840b40a082
|
|
95
|
+
properties : [{"name":"myProp1","type":"Integer"},{"name":"myProp2","type":"String"}]
|
|
96
|
+
status : InDevelopment
|
|
97
|
+
targetTypes: ["Group"]
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
=== "CSV"
|
|
101
|
+
|
|
102
|
+
```csv
|
|
103
|
+
id,description,status,owner
|
|
104
|
+
extlywhx1h4_MySchemaExtension,My Schema Extension,InDevelopment,19b5bd1f-3d5e-404a-80f5-ca840b40a082
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
=== "Markdown"
|
|
108
|
+
|
|
109
|
+
```md
|
|
110
|
+
# graph schemaextension add --id "MySchemaExtension" --description "My Schema Extension" --targetTypes "Group" --owner "19b5bd1f-3d5e-404a-80f5-ca840b40a082" --properties "[{"name":"myProp1","type":"Integer"},{"name":"myProp2","type":"String"}]"
|
|
111
|
+
|
|
112
|
+
Date: 2023-05-22
|
|
113
|
+
|
|
114
|
+
## extnevl1fo8_MySchemaExtension
|
|
115
|
+
|
|
116
|
+
Property | Value
|
|
117
|
+
---------|-------
|
|
118
|
+
id | extnevl1fo8\_MySchemaExtension
|
|
119
|
+
description | My Schema Extension
|
|
120
|
+
status | InDevelopment
|
|
121
|
+
owner | 19b5bd1f-3d5e-404a-80f5-ca840b40a082
|
|
122
|
+
```
|
|
@@ -27,3 +27,64 @@ Gets properties of a schema extension definition with ID domain_myExtension
|
|
|
27
27
|
```sh
|
|
28
28
|
m365 graph schemaextension get --id domain_myExtension
|
|
29
29
|
```
|
|
30
|
+
|
|
31
|
+
## Response
|
|
32
|
+
|
|
33
|
+
=== "JSON"
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"id": "extuf4mntoy_MySchemaExtension",
|
|
38
|
+
"description": "My Schema Extension",
|
|
39
|
+
"targetTypes": [
|
|
40
|
+
"Group"
|
|
41
|
+
],
|
|
42
|
+
"status": "InDevelopment",
|
|
43
|
+
"owner": "19b5bd1f-3d5e-404a-80f5-ca840b40a082",
|
|
44
|
+
"properties": [
|
|
45
|
+
{
|
|
46
|
+
"name": "myProp1",
|
|
47
|
+
"type": "Integer"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "myProp2",
|
|
51
|
+
"type": "String"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
=== "Text"
|
|
58
|
+
|
|
59
|
+
```text
|
|
60
|
+
description: My Schema Extension
|
|
61
|
+
id : extuf4mntoy_MySchemaExtension
|
|
62
|
+
owner : 19b5bd1f-3d5e-404a-80f5-ca840b40a082
|
|
63
|
+
properties : [{"name":"myProp1","type":"Integer"},{"name":"myProp2","type":"String"}]
|
|
64
|
+
status : InDevelopment
|
|
65
|
+
targetTypes: ["Group"]
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
=== "CSV"
|
|
69
|
+
|
|
70
|
+
```csv
|
|
71
|
+
id,description,status,owner
|
|
72
|
+
extuf4mntoy_MySchemaExtension,My Schema Extension,InDevelopment,19b5bd1f-3d5e-404a-80f5-ca840b40a082
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
=== "Markdown"
|
|
76
|
+
|
|
77
|
+
```md
|
|
78
|
+
# graph schemaextension get --id "extuf4mntoy_MySchemaExtension"
|
|
79
|
+
|
|
80
|
+
Date: 2023-05-22
|
|
81
|
+
|
|
82
|
+
## extuf4mntoy_MySchemaExtension
|
|
83
|
+
|
|
84
|
+
Property | Value
|
|
85
|
+
---------|-------
|
|
86
|
+
id | extuf4mntoy\_MySchemaExtension
|
|
87
|
+
description | My Schema Extension
|
|
88
|
+
status | InDevelopment
|
|
89
|
+
owner | 19b5bd1f-3d5e-404a-80f5-ca840b40a082
|
|
90
|
+
```
|
|
@@ -48,6 +48,67 @@ Get a list of schemaExtension objects created in the current tenant, with owner
|
|
|
48
48
|
m365 graph schemaextension list --owner 617720dc-85fc-45d7-a187-cee75eaf239e --pageNumber 2 --pageSize 10
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
+
## Response
|
|
52
|
+
|
|
53
|
+
=== "JSON"
|
|
54
|
+
|
|
55
|
+
```json
|
|
56
|
+
[
|
|
57
|
+
{
|
|
58
|
+
"id": "adatumisv_exo2",
|
|
59
|
+
"description": "sample description",
|
|
60
|
+
"targetTypes": [
|
|
61
|
+
"Message"
|
|
62
|
+
],
|
|
63
|
+
"status": "Available",
|
|
64
|
+
"owner": "617720dc-85fc-45d7-a187-cee75eaf239e",
|
|
65
|
+
"properties": [
|
|
66
|
+
{
|
|
67
|
+
"name": "p1",
|
|
68
|
+
"type": "String"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "p2",
|
|
72
|
+
"type": "String"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
=== "Text"
|
|
80
|
+
|
|
81
|
+
```text
|
|
82
|
+
id description targetTypes status owner properties
|
|
83
|
+
-------------- ------------------ ----------- --------- ------------------------------------ --------------------------------------------------------------
|
|
84
|
+
adatumisv_exo2 sample description Message Available 617720dc-85fc-45d7-a187-cee75eaf239e [{"name":"p1","type":"String"},{"name":"p2","type":"String"}]
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
=== "CSV"
|
|
88
|
+
|
|
89
|
+
```csv
|
|
90
|
+
id,description,status,owner,properties
|
|
91
|
+
adatumisv_exo2,sample description,Available,617720dc-85fc-45d7-a187-cee75eaf239e,"[{""name"":""p1"",""type"":""String""},{""name"":""p2"",""type"":""String""}]"
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
=== "Markdown"
|
|
95
|
+
|
|
96
|
+
```md
|
|
97
|
+
# graph schemaextension list
|
|
98
|
+
|
|
99
|
+
Date: 2023-05-22
|
|
100
|
+
|
|
101
|
+
## adatumisv_exo2
|
|
102
|
+
|
|
103
|
+
Property | Value
|
|
104
|
+
---------|-------
|
|
105
|
+
id | adatumisv\_exo2
|
|
106
|
+
description | sample description
|
|
107
|
+
status | Available
|
|
108
|
+
owner | 617720dc-85fc-45d7-a187-cee75eaf239e
|
|
109
|
+
properties | [{"name":"p1","type":"String"},{"name":"p2","type":"String"}]
|
|
110
|
+
```
|
|
111
|
+
|
|
51
112
|
## More information
|
|
52
113
|
|
|
53
114
|
[https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/schemaextension_list](https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/schemaextension_list)
|
|
@@ -58,3 +58,7 @@ Change the status of a schema extension to 'Available'
|
|
|
58
58
|
```sh
|
|
59
59
|
m365 graph schemaextension set --id contoso_MySchemaExtension --owner 62375ab9-6b52-47ed-826b-58e47e0e304b --status Available
|
|
60
60
|
```
|
|
61
|
+
|
|
62
|
+
## Response
|
|
63
|
+
|
|
64
|
+
The command won't return a response on success.
|
|
@@ -62,3 +62,76 @@ Create a subscription using the maximum allowed expiration for Group resources
|
|
|
62
62
|
```sh
|
|
63
63
|
m365 graph subscription add --resource groups --changeType "updated" --notificationUrl "https://webhook.azurewebsites.net/api/send/myNotifyClient"
|
|
64
64
|
```
|
|
65
|
+
|
|
66
|
+
## Response
|
|
67
|
+
|
|
68
|
+
=== "JSON"
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"id": "d2df2c16-26ee-4431-ab22-3b133556fb26",
|
|
73
|
+
"resource": "groups",
|
|
74
|
+
"applicationId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
|
|
75
|
+
"changeType": "updated",
|
|
76
|
+
"clientState": "some secret value",
|
|
77
|
+
"notificationUrl": "https://webhook.azurewebsites.net/api/changeNotificationHook",
|
|
78
|
+
"notificationQueryOptions": null,
|
|
79
|
+
"lifecycleNotificationUrl": null,
|
|
80
|
+
"expirationDateTime": "2023-05-23T18:23:45.935Z",
|
|
81
|
+
"creatorId": "0649d0bd-53dc-4e1d-a357-76f1d92d447b",
|
|
82
|
+
"includeResourceData": null,
|
|
83
|
+
"latestSupportedTlsVersion": "v1_2",
|
|
84
|
+
"encryptionCertificate": null,
|
|
85
|
+
"encryptionCertificateId": null,
|
|
86
|
+
"notificationUrlAppId": null
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
=== "Text"
|
|
91
|
+
|
|
92
|
+
```text
|
|
93
|
+
applicationId : 31359c7f-bd7e-475c-86db-fdb8c937548e
|
|
94
|
+
changeType : updated
|
|
95
|
+
clientState : some secret value
|
|
96
|
+
creatorId : 0649d0bd-53dc-4e1d-a357-76f1d92d447b
|
|
97
|
+
encryptionCertificate : null
|
|
98
|
+
encryptionCertificateId : null
|
|
99
|
+
expirationDateTime : 2023-05-23T18:23:45.935Z
|
|
100
|
+
id : e2484150-c26d-4ad6-af45-84ccf6ac985a
|
|
101
|
+
includeResourceData : null
|
|
102
|
+
latestSupportedTlsVersion: v1_2
|
|
103
|
+
lifecycleNotificationUrl : null
|
|
104
|
+
notificationQueryOptions : null
|
|
105
|
+
notificationUrl : https://webhook.azurewebsites.net/api/changeNotificationHook
|
|
106
|
+
notificationUrlAppId : null
|
|
107
|
+
resource : groups
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
=== "CSV"
|
|
111
|
+
|
|
112
|
+
```csv
|
|
113
|
+
id,resource,applicationId,changeType,clientState,notificationUrl,expirationDateTime,creatorId,latestSupportedTlsVersion
|
|
114
|
+
34270781-91cf-48ab-a930-072c5eedf808,groups,31359c7f-bd7e-475c-86db-fdb8c937548e,updated,some secret value,https://webhook.azurewebsites.net/api/changeNotificationHook,2023-05-23T18:23:45.935Z,0649d0bd-53dc-4e1d-a357-76f1d92d447b,v1_2
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
=== "Markdown"
|
|
118
|
+
|
|
119
|
+
```md
|
|
120
|
+
# graph subscription add --resource "groups" --changeType "updated" --notificationUrl "https://webhook.azurewebsites.net/api/changeNotificationHook" --expirationDateTime "2023-05-23T18:23:45.935Z" --clientState "some secret value"
|
|
121
|
+
|
|
122
|
+
Date: 2023-05-22
|
|
123
|
+
|
|
124
|
+
## 01d62711-6503-4b5b-8500-a5af0ee3967a
|
|
125
|
+
|
|
126
|
+
Property | Value
|
|
127
|
+
---------|-------
|
|
128
|
+
id | 01d62711-6503-4b5b-8500-a5af0ee3967a
|
|
129
|
+
resource | groups
|
|
130
|
+
applicationId | 31359c7f-bd7e-475c-86db-fdb8c937548e
|
|
131
|
+
changeType | updated
|
|
132
|
+
clientState | some secret value
|
|
133
|
+
notificationUrl | https://webhook.azurewebsites.net/api/changeNotificationHook
|
|
134
|
+
expirationDateTime | 2023-05-23T18:23:45.935Z
|
|
135
|
+
creatorId | 0649d0bd-53dc-4e1d-a357-76f1d92d447b
|
|
136
|
+
latestSupportedTlsVersion | v1\_2
|
|
137
|
+
```
|
package/docs/docs/cmd/login.md
CHANGED
|
@@ -46,7 +46,7 @@ m365 login [options]
|
|
|
46
46
|
|
|
47
47
|
Using the `login` command you can log in to Microsoft 365.
|
|
48
48
|
|
|
49
|
-
By default, the `login` command uses device code OAuth flow to log in to Microsoft 365. Alternatively, you can authenticate using a user name and password or certificate, which are convenient for CI/CD scenarios, but which come with their own [limitations](../user-guide/connecting-
|
|
49
|
+
By default, the `login` command uses device code OAuth flow to log in to Microsoft 365. Alternatively, you can authenticate using a user name and password or certificate, which are convenient for CI/CD scenarios, but which come with their own [limitations](../user-guide/connecting-microsoft-365.md).
|
|
50
50
|
|
|
51
51
|
When logging in to Microsoft 365 using the user name and password, next to the access and refresh token, the CLI for Microsoft 365 will store the user credentials so that it can automatically re-authenticate if necessary. Similarly to the tokens, the credentials are removed by re-authenticating using the device code or by calling the [logout](logout.md) command.
|
|
52
52
|
|