@pnp/cli-microsoft365 6.9.0-beta.91abae4 → 6.9.0-beta.d8f8efb
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/dist/cli/Cli.js +16 -0
- package/dist/m365/aad/commands/app/app-add.js +258 -249
- package/dist/m365/aad/commands/app/app-get.js +65 -62
- package/dist/m365/aad/commands/app/app-remove.js +22 -23
- package/dist/m365/aad/commands/app/app-role-add.js +35 -34
- package/dist/m365/aad/commands/app/app-role-list.js +22 -23
- package/dist/m365/aad/commands/app/app-role-remove.js +76 -73
- package/dist/m365/aad/commands/app/app-set.js +103 -103
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +16 -14
- package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +43 -52
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +20 -16
- package/dist/m365/aad/commands/o365group/o365group-add.js +40 -37
- package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +7 -6
- package/dist/m365/aad/commands/o365group/o365group-list.js +6 -11
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +7 -8
- package/dist/m365/aad/commands/o365group/o365group-teamify.js +15 -16
- package/dist/m365/aad/commands/o365group/o365group-user-list.js +17 -10
- package/dist/m365/aad/commands/o365group/o365group-user-set.js +17 -10
- package/dist/m365/aad/commands/policy/policy-list.js +12 -13
- package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +1 -3
- package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +19 -20
- package/dist/m365/aad/commands/sp/sp-add.js +22 -23
- package/dist/m365/aad/commands/sp/sp-get.js +22 -23
- package/dist/m365/cli/commands/config/config-set.js +1 -0
- package/dist/m365/commands/login.js +20 -0
- package/dist/m365/file/commands/convert/convert-pdf.js +147 -143
- package/dist/m365/file/commands/file-add.js +87 -93
- package/dist/m365/file/commands/file-list.js +49 -55
- package/dist/m365/onedrive/commands/onedrive-list.js +21 -32
- package/dist/m365/pa/commands/app/app-export.js +3 -4
- package/dist/m365/pa/commands/app/app-get.js +11 -9
- package/dist/m365/pa/commands/app/app-remove.js +1 -1
- package/dist/m365/pa/commands/pcf/pcf-init.js +1 -2
- package/dist/m365/pa/commands/solution/solution-init.js +1 -2
- package/dist/m365/pa/commands/solution/solution-reference-add.js +1 -2
- package/dist/m365/planner/commands/bucket/bucket-add.js +15 -13
- package/dist/m365/planner/commands/bucket/bucket-get.js +27 -28
- package/dist/m365/planner/commands/bucket/bucket-list.js +15 -13
- package/dist/m365/planner/commands/bucket/bucket-remove.js +33 -34
- package/dist/m365/planner/commands/bucket/bucket-set.js +33 -34
- package/dist/m365/planner/commands/plan/plan-add.js +49 -52
- package/dist/m365/planner/commands/plan/plan-set.js +19 -20
- package/dist/m365/planner/commands/task/task-add.js +75 -78
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +11 -10
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +10 -8
- package/dist/m365/planner/commands/task/task-get.js +53 -56
- package/dist/m365/planner/commands/task/task-list.js +23 -24
- package/dist/m365/planner/commands/task/task-reference-add.js +11 -10
- package/dist/m365/planner/commands/task/task-reference-remove.js +13 -14
- package/dist/m365/planner/commands/task/task-remove.js +44 -48
- package/dist/m365/planner/commands/task/task-set.js +83 -87
- package/dist/m365/pp/commands/card/card-get.js +6 -1
- package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +0 -5
- package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +0 -5
- package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +0 -5
- package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +0 -5
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +0 -5
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +0 -5
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +0 -5
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +0 -5
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +0 -5
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +0 -5
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +0 -5
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +0 -5
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +19 -22
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +0 -5
- package/dist/m365/spfx/commands/project/JsonRule.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021003_PKG_engines_node.js +1 -0
- package/dist/m365/spo/commands/app/app-teamspackage-download.js +17 -24
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +154 -0
- package/dist/m365/spo/commands/commandset/commandset-set.js +11 -2
- package/dist/m365/spo/commands/homesite/homesite-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-sensitivitylabel-ensure.js +127 -0
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +31 -1
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +31 -2
- package/dist/m365/{teams/Message.js → spo/commands/tenant/Solution.js} +1 -1
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +156 -0
- package/dist/m365/spo/commands/tenant/tenant-commandset-add.js +215 -0
- package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +114 -0
- package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +50 -0
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +1 -1
- package/dist/m365/spo/commands.js +6 -0
- package/dist/settingsNames.js +1 -0
- package/dist/utils/md.js +1 -3
- package/dist/utils/spo.js +60 -0
- package/docs/docs/cmd/aad/app/app-add.mdx +113 -0
- package/docs/docs/cmd/aad/app/app-get.mdx +217 -0
- package/docs/docs/cmd/aad/app/app-list.mdx +21 -0
- package/docs/docs/cmd/aad/app/app-role-add.mdx +4 -0
- package/docs/docs/cmd/aad/app/app-role-list.mdx +63 -0
- package/docs/docs/cmd/aad/app/app-role-remove.mdx +4 -0
- package/docs/docs/cmd/aad/app/app-set.mdx +4 -0
- package/docs/docs/cmd/aad/approleassignment/approleassignment-add.mdx +61 -0
- package/docs/docs/cmd/aad/approleassignment/approleassignment-list.mdx +59 -0
- package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.mdx +4 -0
- package/docs/docs/cmd/aad/group/group-get.mdx +24 -0
- package/docs/docs/cmd/aad/group/group-list.mdx +98 -0
- package/docs/docs/cmd/aad/groupsetting/groupsetting-add.mdx +114 -0
- package/docs/docs/cmd/aad/groupsetting/groupsetting-get.mdx +115 -0
- package/docs/docs/cmd/aad/groupsetting/groupsetting-list.mdx +115 -0
- package/docs/docs/cmd/aad/groupsetting/groupsetting-remove.mdx +4 -0
- package/docs/docs/cmd/aad/groupsetting/groupsetting-set.mdx +4 -0
- package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-get.mdx +63 -0
- package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-list.mdx +63 -0
- package/docs/docs/cmd/aad/o365group/o365group-add.mdx +122 -0
- package/docs/docs/cmd/aad/o365group/o365group-conversation-list.mdx +68 -0
- package/docs/docs/cmd/aad/o365group/o365group-conversation-post-list.mdx +77 -0
- package/docs/docs/cmd/aad/o365group/o365group-get.mdx +122 -0
- package/docs/docs/cmd/aad/o365group/o365group-list.mdx +99 -0
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-clear.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-list.mdx +96 -0
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-remove.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-remove.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-renew.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-report-activitycounts.mdx +48 -0
- package/docs/docs/cmd/aad/o365group/o365group-report-activitydetail.mdx +60 -0
- package/docs/docs/cmd/aad/o365group/o365group-report-activityfilecounts.mdx +46 -0
- package/docs/docs/cmd/aad/o365group/o365group-report-activitygroupcounts.mdx +46 -0
- package/docs/docs/cmd/aad/o365group/o365group-report-activitystorage.mdx +46 -0
- package/docs/docs/cmd/aad/o365group/o365group-set.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-teamify.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-user-add.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-user-list.mdx +56 -0
- package/docs/docs/cmd/aad/o365group/o365group-user-remove.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-user-set.mdx +8 -4
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-add.mdx +4 -0
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-list.mdx +59 -0
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.mdx +4 -0
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-set.mdx +4 -0
- package/docs/docs/cmd/aad/policy/policy-list.mdx +77 -0
- package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.mdx +4 -0
- package/docs/docs/cmd/aad/siteclassification/siteclassification-enable.mdx +4 -0
- package/docs/docs/cmd/aad/siteclassification/siteclassification-get.mdx +57 -0
- package/docs/docs/cmd/aad/siteclassification/siteclassification-set.mdx +4 -0
- package/docs/docs/cmd/aad/sp/sp-add.mdx +136 -0
- package/docs/docs/cmd/aad/sp/sp-get.mdx +166 -0
- package/docs/docs/cmd/aad/user/user-get.mdx +75 -0
- package/docs/docs/cmd/aad/user/user-guest-add.mdx +23 -0
- package/docs/docs/cmd/aad/user/user-hibp.mdx +82 -0
- package/docs/docs/cmd/aad/user/user-license-add.mdx +2 -2
- package/docs/docs/cmd/aad/user/user-license-remove.mdx +2 -2
- package/docs/docs/cmd/aad/user/user-list.mdx +52 -0
- package/docs/docs/cmd/aad/user/user-password-validate.mdx +67 -0
- package/docs/docs/cmd/aad/user/user-signin-list.mdx +131 -0
- package/docs/docs/cmd/login.mdx +39 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +0 -6
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +0 -6
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +0 -7
- package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.mdx +0 -6
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +0 -6
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +0 -6
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +0 -6
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +0 -6
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +0 -6
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +0 -6
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx +0 -6
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx +0 -6
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +0 -6
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx +0 -6
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +72 -0
- package/docs/docs/cmd/spo/commandset/commandset-set.mdx +12 -3
- package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +64 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +7 -4
- package/docs/docs/cmd/spo/navigation/navigation-node-set.mdx +9 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +81 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +183 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +155 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +114 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
- package/docs/docs/cmd/status.mdx +6 -3
- package/package.json +1 -1
- package/dist/m365/aad/commands/approleassignment/AppRoleAssignment.js +0 -3
- package/dist/m365/aad/commands/approleassignment/ServicePrincipal.js +0 -3
- package/dist/m365/aad/commands/groupsetting/GroupSetting.js +0 -3
- package/dist/m365/aad/commands/groupsettingtemplate/GroupSettingTemplate.js +0 -3
- package/dist/m365/aad/commands/siteclassification/DirectorySetting.js +0 -10
- package/dist/m365/aad/commands/siteclassification/DirectorySettingTemplatesRsp.js +0 -3
- package/dist/m365/aad/commands/siteclassification/DirectorySettingValue.js +0 -3
- package/dist/m365/outlook/Message.js +0 -3
- package/dist/m365/spo/commands/site/SitePermission.js +0 -3
- package/dist/m365/teams/Channel.js +0 -3
- package/dist/m365/teams/ConversationMember.js +0 -3
- package/dist/m365/teams/Reply.js +0 -3
- package/dist/m365/teams/Tab.js +0 -3
- package/dist/m365/teams/Team.js +0 -3
- package/dist/m365/teams/TeamsApp.js +0 -3
- package/dist/m365/teams/TeamsAppInstallation.js +0 -3
- package/dist/m365/teams/TeamsTabConfiguration.js +0 -3
- package/dist/m365/teams/commands/Meeting.js +0 -3
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# aad user list
|
|
4
6
|
|
|
@@ -62,6 +64,56 @@ Show all account managers whose display name starts with _Patt_
|
|
|
62
64
|
m365 aad user list --displayName Patt --jobTitle 'Account manager'
|
|
63
65
|
```
|
|
64
66
|
|
|
67
|
+
## Response
|
|
68
|
+
|
|
69
|
+
<Tabs>
|
|
70
|
+
<TabItem value="JSON">
|
|
71
|
+
|
|
72
|
+
```json
|
|
73
|
+
[
|
|
74
|
+
{
|
|
75
|
+
"userPrincipalName": "John@contoso.onmicrosoft.com",
|
|
76
|
+
"displayName": "John Doe"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
</TabItem>
|
|
82
|
+
<TabItem value="Text">
|
|
83
|
+
|
|
84
|
+
```text
|
|
85
|
+
userPrincipalName displayName
|
|
86
|
+
---------------------------------------- -------------------------
|
|
87
|
+
John@contoso.onmicrosoft.com John Doe
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
</TabItem>
|
|
91
|
+
<TabItem value="CSV">
|
|
92
|
+
|
|
93
|
+
```csv
|
|
94
|
+
userPrincipalName,displayName
|
|
95
|
+
John@contoso.onmicrosoft.com,John Doe
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
</TabItem>
|
|
99
|
+
<TabItem value="Markdown">
|
|
100
|
+
|
|
101
|
+
```md
|
|
102
|
+
# aad user list
|
|
103
|
+
|
|
104
|
+
Date: 2023-06-02
|
|
105
|
+
|
|
106
|
+
## John Doe
|
|
107
|
+
|
|
108
|
+
Property | Value
|
|
109
|
+
---------|-------
|
|
110
|
+
userPrincipalName | John@contoso.onmicrosoft.com
|
|
111
|
+
displayName | John Doe
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
</TabItem>
|
|
115
|
+
</Tabs>
|
|
116
|
+
|
|
65
117
|
## More information
|
|
66
118
|
|
|
67
119
|
- Microsoft Graph User properties: [https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties](https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties)
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# aad user password validate
|
|
4
6
|
|
|
@@ -34,3 +36,68 @@ Validate password _cli365P@ssW0rd_ against the organization's password validatio
|
|
|
34
36
|
```sh
|
|
35
37
|
m365 aad user password validate --password "cli365P@ssW0rd"
|
|
36
38
|
```
|
|
39
|
+
|
|
40
|
+
## Response
|
|
41
|
+
|
|
42
|
+
<Tabs>
|
|
43
|
+
<TabItem value="JSON">
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
{
|
|
47
|
+
"isValid": true,
|
|
48
|
+
"validationResults": [
|
|
49
|
+
{
|
|
50
|
+
"ruleName": "PasswordMinLength",
|
|
51
|
+
"validationPassed": true,
|
|
52
|
+
"message": "The new password must have a minimum of 8 characters."
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"ruleName": "PasswordMaxLength",
|
|
56
|
+
"validationPassed": true,
|
|
57
|
+
"message": "The new password cannot contain more than 256 characters."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"ruleName": "PasswordComplexity",
|
|
61
|
+
"validationPassed": true,
|
|
62
|
+
"message": "The new password must contain characters from at least 3 out of: Lowercase characters, Uppercase characters, Numbers, Symbols."
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"ruleName": "PasswordNotBanned",
|
|
66
|
+
"validationPassed": true,
|
|
67
|
+
"message": "The new password must not be weak or commonly used."
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
</TabItem>
|
|
74
|
+
<TabItem value="Text">
|
|
75
|
+
|
|
76
|
+
```text
|
|
77
|
+
isValid : true
|
|
78
|
+
validationResults: [{"ruleName":"PasswordMinLength","validationPassed":true,"message":"The new password must have a minimum of 8 characters."},{"ruleName":"PasswordMaxLength","validationPassed":true,"message":"The new password cannot contain more than 256 characters."},{"ruleName":"PasswordComplexity","validationPassed":true,"message":"The new password must contain characters from at least 3 out of: Lowercase characters, Uppercase characters, Numbers, Symbols."},{"ruleName":"PasswordNotBanned","validationPassed":true,"message":"The new password must not be weak or commonly used."}]
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
</TabItem>
|
|
82
|
+
<TabItem value="CSV">
|
|
83
|
+
|
|
84
|
+
```csv
|
|
85
|
+
isValid
|
|
86
|
+
1
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
</TabItem>
|
|
90
|
+
<TabItem value="Markdown">
|
|
91
|
+
|
|
92
|
+
```md
|
|
93
|
+
# aad user password validate --password "cli365P@ssW0rd"
|
|
94
|
+
|
|
95
|
+
Date: 2023-06-02
|
|
96
|
+
|
|
97
|
+
Property | Value
|
|
98
|
+
---------|-------
|
|
99
|
+
isValid | true
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
</TabItem>
|
|
103
|
+
</Tabs>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# aad user signin list
|
|
4
6
|
|
|
@@ -83,3 +85,132 @@ Get all user's sign-ins filter by given user's Id and application identifier in
|
|
|
83
85
|
```sh
|
|
84
86
|
m365 aad user signin list --userId '11111111-1111-1111-1111-111111111111' --appId '00000000-0000-0000-0000-000000000000'
|
|
85
87
|
```
|
|
88
|
+
|
|
89
|
+
## Response
|
|
90
|
+
|
|
91
|
+
<Tabs>
|
|
92
|
+
<TabItem value="JSON">
|
|
93
|
+
|
|
94
|
+
```json
|
|
95
|
+
[
|
|
96
|
+
{
|
|
97
|
+
"id": "66ea54eb-6301-4ee5-be62-ff5a759b0100",
|
|
98
|
+
"createdDateTime": "2020-03-13T19:15:41.6195833Z",
|
|
99
|
+
"userDisplayName": "Test Contoso",
|
|
100
|
+
"userPrincipalName": "john@contoso.com",
|
|
101
|
+
"userId": "26be570a-ae82-4189-b4e2-a37c6808512d",
|
|
102
|
+
"appId": "de8bc8b5-d9f9-48b1-a8ad-b748da725064",
|
|
103
|
+
"appDisplayName": "Graph explorer",
|
|
104
|
+
"ipAddress": "131.107.159.37",
|
|
105
|
+
"clientAppUsed": "Browser",
|
|
106
|
+
"correlationId": "d79f5bee-5860-4832-928f-3133e22ae912",
|
|
107
|
+
"conditionalAccessStatus": "notApplied",
|
|
108
|
+
"isInteractive": true,
|
|
109
|
+
"riskDetail": "none",
|
|
110
|
+
"riskLevelAggregated": "none",
|
|
111
|
+
"riskLevelDuringSignIn": "none",
|
|
112
|
+
"riskState": "none",
|
|
113
|
+
"riskEventTypes": [],
|
|
114
|
+
"resourceDisplayName": "Microsoft Graph",
|
|
115
|
+
"resourceId": "00000003-0000-0000-c000-000000000000",
|
|
116
|
+
"status": {
|
|
117
|
+
"errorCode": 0,
|
|
118
|
+
"failureReason": null,
|
|
119
|
+
"additionalDetails": null
|
|
120
|
+
},
|
|
121
|
+
"deviceDetail": {
|
|
122
|
+
"deviceId": "",
|
|
123
|
+
"displayName": null,
|
|
124
|
+
"operatingSystem": "Windows 10",
|
|
125
|
+
"browser": "Edge 80.0.361",
|
|
126
|
+
"isCompliant": null,
|
|
127
|
+
"isManaged": null,
|
|
128
|
+
"trustType": null
|
|
129
|
+
},
|
|
130
|
+
"location": {
|
|
131
|
+
"city": "Redmond",
|
|
132
|
+
"state": "Washington",
|
|
133
|
+
"countryOrRegion": "US",
|
|
134
|
+
"geoCoordinates": {
|
|
135
|
+
"altitude": null,
|
|
136
|
+
"latitude": 47.68050003051758,
|
|
137
|
+
"longitude": -122.12094116210938
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"appliedConditionalAccessPolicies": [
|
|
141
|
+
{
|
|
142
|
+
"id": "de7e60eb-ed89-4d73-8205-2227def6b7c9",
|
|
143
|
+
"displayName": "SharePoint limited access for guest workers",
|
|
144
|
+
"enforcedGrantControls": [],
|
|
145
|
+
"enforcedSessionControls": [],
|
|
146
|
+
"result": "notEnabled"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"id": "6701123a-b4c6-48af-8565-565c8bf7cabc",
|
|
150
|
+
"displayName": "Medium signin risk block",
|
|
151
|
+
"enforcedGrantControls": [],
|
|
152
|
+
"enforcedSessionControls": [],
|
|
153
|
+
"result": "notEnabled"
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
</TabItem>
|
|
161
|
+
<TabItem value="Text">
|
|
162
|
+
|
|
163
|
+
```text
|
|
164
|
+
id userPrincipalName appId appDisplayName createdDateTime
|
|
165
|
+
------------------------------------ ------------------------ ------------------------------------ -------------- ----------------------------
|
|
166
|
+
66ea54eb-6301-4ee5-be62-ff5a759b0100 testaccount1@contoso.com de8bc8b5-d9f9-48b1-a8ad-b748da725064 Graph explorer 2020-03-13T19:15:41.6195833Z
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
</TabItem>
|
|
170
|
+
<TabItem value="CSV">
|
|
171
|
+
|
|
172
|
+
```csv
|
|
173
|
+
id,userPrincipalName,appId,appDisplayName,createdDateTime
|
|
174
|
+
66ea54eb-6301-4ee5-be62-ff5a759b0100,john@contoso.com,de8bc8b5-d9f9-48b1-a8ad-b748da725064,Graph explorer,2020-03-13T19:15:41.6195833Z
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
</TabItem>
|
|
178
|
+
<TabItem value="Markdown">
|
|
179
|
+
|
|
180
|
+
```md
|
|
181
|
+
# aad user signin list
|
|
182
|
+
|
|
183
|
+
Date: 2023-06-02
|
|
184
|
+
|
|
185
|
+
Property | Value
|
|
186
|
+
---------|-------
|
|
187
|
+
# aad user signin list
|
|
188
|
+
|
|
189
|
+
Date: 2023-06-02
|
|
190
|
+
|
|
191
|
+
## 66ea54eb-6301-4ee5-be62-ff5a759b0100
|
|
192
|
+
|
|
193
|
+
Property | Value
|
|
194
|
+
---------|-------
|
|
195
|
+
id | 66ea54eb-6301-4ee5-be62-ff5a759b0100
|
|
196
|
+
createdDateTime | 2020-03-13T19:15:41.6195833Z
|
|
197
|
+
userDisplayName | Test Contoso
|
|
198
|
+
userPrincipalName | john@contoso.com
|
|
199
|
+
userId | 26be570a-ae82-4189-b4e2-a37c6808512d
|
|
200
|
+
appId | de8bc8b5-d9f9-48b1-a8ad-b748da725064
|
|
201
|
+
appDisplayName | Graph explorer
|
|
202
|
+
ipAddress | 131.107.159.37
|
|
203
|
+
clientAppUsed | Browser
|
|
204
|
+
correlationId | d79f5bee-5860-4832-928f-3133e22ae912
|
|
205
|
+
conditionalAccessStatus | notApplied
|
|
206
|
+
isInteractive | true
|
|
207
|
+
riskDetail | none
|
|
208
|
+
riskLevelAggregated | none
|
|
209
|
+
riskLevelDuringSignIn | none
|
|
210
|
+
riskState | none
|
|
211
|
+
resourceDisplayName | Microsoft Graph
|
|
212
|
+
resourceId | 00000003-0000-0000-c000-000000000000
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
</TabItem>
|
|
216
|
+
</Tabs>
|
package/docs/docs/cmd/login.mdx
CHANGED
|
@@ -177,6 +177,16 @@ m365 login --authType secret --secret topSeCr3t@007
|
|
|
177
177
|
```json
|
|
178
178
|
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CQBMTLEFC to authenticate.
|
|
179
179
|
```
|
|
180
|
+
Upon successful login:
|
|
181
|
+
```json
|
|
182
|
+
{
|
|
183
|
+
"connectedAs": "john.doe@contoso.onmicrosoft.com",
|
|
184
|
+
"authType": "DeviceCode",
|
|
185
|
+
"appId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
|
|
186
|
+
"appTenant": "common",
|
|
187
|
+
"cloudType": "Public"
|
|
188
|
+
}
|
|
189
|
+
```
|
|
180
190
|
|
|
181
191
|
</TabItem>
|
|
182
192
|
<TabItem value="Text">
|
|
@@ -184,6 +194,14 @@ m365 login --authType secret --secret topSeCr3t@007
|
|
|
184
194
|
```text
|
|
185
195
|
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CQBMTLEFC to authenticate.
|
|
186
196
|
```
|
|
197
|
+
Upon successful login:
|
|
198
|
+
```text
|
|
199
|
+
appId : 31359c7f-bd7e-475c-86db-fdb8c937548e
|
|
200
|
+
appTenant : common
|
|
201
|
+
authType : DeviceCode
|
|
202
|
+
connectedAs: john.doe@contoso.onmicrosoft.com,
|
|
203
|
+
cloudType : Public
|
|
204
|
+
```
|
|
187
205
|
|
|
188
206
|
</TabItem>
|
|
189
207
|
<TabItem value="CSV">
|
|
@@ -191,6 +209,11 @@ m365 login --authType secret --secret topSeCr3t@007
|
|
|
191
209
|
```csv
|
|
192
210
|
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CQBMTLEFC to authenticate.
|
|
193
211
|
```
|
|
212
|
+
Upon successful login:
|
|
213
|
+
```csv
|
|
214
|
+
connectedAs,authType,appId,appTenant,cloudType
|
|
215
|
+
john.doe@contoso.onmicrosoft.com,DeviceCode,31359c7f-bd7e-475c-86db-fdb8c937548e,common,Public
|
|
216
|
+
```
|
|
194
217
|
|
|
195
218
|
</TabItem>
|
|
196
219
|
<TabItem value="Markdown">
|
|
@@ -198,6 +221,22 @@ m365 login --authType secret --secret topSeCr3t@007
|
|
|
198
221
|
```md
|
|
199
222
|
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CQBMTLEFC to authenticate.
|
|
200
223
|
```
|
|
224
|
+
Upon successful login:
|
|
225
|
+
```md
|
|
226
|
+
# status
|
|
227
|
+
|
|
228
|
+
Date: 7/2/2023
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
Property | Value
|
|
233
|
+
---------|-------
|
|
234
|
+
connectedAs | john.doe@contoso.onmicrosoft.com
|
|
235
|
+
authType | DeviceCode
|
|
236
|
+
appId | 31359c7f-bd7e-475c-86db-fdb8c937548e
|
|
237
|
+
appTenant | common
|
|
238
|
+
cloudType | Public
|
|
239
|
+
```
|
|
201
240
|
|
|
202
241
|
</TabItem>
|
|
203
242
|
</Tabs>
|
|
@@ -47,12 +47,6 @@ This command is based on an API that is currently in preview and is subject to c
|
|
|
47
47
|
|
|
48
48
|
:::
|
|
49
49
|
|
|
50
|
-
:::caution
|
|
51
|
-
|
|
52
|
-
This command currently only supports delegated permissions.
|
|
53
|
-
|
|
54
|
-
:::
|
|
55
|
-
|
|
56
50
|
## Examples
|
|
57
51
|
|
|
58
52
|
Create a retention event to start retention at the end of 2022 for all employee documents that have been labeled and have the Asset ID _EmployeeNr1234_
|
|
@@ -32,15 +32,8 @@ This command is based on a Microsoft Graph API that is currently in preview and
|
|
|
32
32
|
|
|
33
33
|
:::
|
|
34
34
|
|
|
35
|
-
:::caution
|
|
36
|
-
|
|
37
|
-
This command currently only supports delegated permissions.
|
|
38
|
-
|
|
39
|
-
:::
|
|
40
|
-
|
|
41
35
|
## Response
|
|
42
36
|
|
|
43
|
-
|
|
44
37
|
<Tabs>
|
|
45
38
|
<TabItem value="JSON">
|
|
46
39
|
|
|
@@ -38,12 +38,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
|
|
|
38
38
|
|
|
39
39
|
:::
|
|
40
40
|
|
|
41
|
-
:::caution
|
|
42
|
-
|
|
43
|
-
This command currently only supports delegated permissions.
|
|
44
|
-
|
|
45
|
-
:::
|
|
46
|
-
|
|
47
41
|
## Response
|
|
48
42
|
|
|
49
43
|
The command won't return a response on success.
|
|
@@ -32,12 +32,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
|
|
|
32
32
|
|
|
33
33
|
:::
|
|
34
34
|
|
|
35
|
-
:::caution
|
|
36
|
-
|
|
37
|
-
This command currently only supports delegated permissions.
|
|
38
|
-
|
|
39
|
-
:::
|
|
40
|
-
|
|
41
35
|
## Examples
|
|
42
36
|
|
|
43
37
|
Create a retention event type *Contract Expiry*.
|
|
@@ -30,12 +30,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
|
|
|
30
30
|
|
|
31
31
|
:::
|
|
32
32
|
|
|
33
|
-
:::caution
|
|
34
|
-
|
|
35
|
-
This command currently only supports delegated permissions.
|
|
36
|
-
|
|
37
|
-
:::
|
|
38
|
-
|
|
39
33
|
## Examples
|
|
40
34
|
|
|
41
35
|
Update the description of a retention event type
|
|
@@ -59,12 +59,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
|
|
|
59
59
|
|
|
60
60
|
:::
|
|
61
61
|
|
|
62
|
-
:::caution
|
|
63
|
-
|
|
64
|
-
This command currently only supports delegated permissions.
|
|
65
|
-
|
|
66
|
-
:::
|
|
67
|
-
|
|
68
62
|
## Examples
|
|
69
63
|
|
|
70
64
|
Create a retention label that retains documents and deletes them after one year.
|
|
@@ -51,12 +51,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
|
|
|
51
51
|
|
|
52
52
|
:::
|
|
53
53
|
|
|
54
|
-
:::caution
|
|
55
|
-
|
|
56
|
-
This command currently only supports delegated permissions.
|
|
57
|
-
|
|
58
|
-
:::
|
|
59
|
-
|
|
60
54
|
## Examples
|
|
61
55
|
|
|
62
56
|
Update a retention label so that it retains documents as records and deletes them after one year.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# spo applicationcustomizer set
|
|
4
|
+
|
|
5
|
+
Updates an existing Application Customizer on a site
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 spo applicationcustomizer set [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-u, --webUrl <webUrl>`
|
|
17
|
+
: The site to update the Application Customizer on.
|
|
18
|
+
|
|
19
|
+
`-t, --title [title]`
|
|
20
|
+
: The title of the Application Customizer to update. Specify either `title`, `id` or `clientSideComponentId`.
|
|
21
|
+
|
|
22
|
+
`-i, --id [id]`
|
|
23
|
+
: The id of the Application Customizer to update. Specify either `title`, `id` or `clientSideComponentId`.
|
|
24
|
+
|
|
25
|
+
`-c, --clientSideComponentId [clientSideComponentId]`
|
|
26
|
+
: The Client Side Component Id (GUID) of the Application Customizer to update. Specify either `title`, `id` or `clientSideComponentId`.
|
|
27
|
+
|
|
28
|
+
`--newTitle [newTitle]`
|
|
29
|
+
: The new title of the Application Customizer.
|
|
30
|
+
|
|
31
|
+
`-p, --clientSideComponentProperties [clientSideComponentProperties]`
|
|
32
|
+
: The Client Side Component properties of the Application Customizer.
|
|
33
|
+
|
|
34
|
+
`-s, --scope [scope]`
|
|
35
|
+
: The scope where to lookup the Application Customizer. Allowed values: `Site`, `Web`, and `All`. Defaults to `All`.
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
<Global />
|
|
39
|
+
|
|
40
|
+
## Remarks
|
|
41
|
+
|
|
42
|
+
Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for clientSideComponentProperties option that has JSON value because the command shell treats quotes differently. For example, this is how Application Customizer can be updated from the Windows cmd.exe:
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
m365 spo applicationcustomizer set --webUrl https://contoso.sharepoint.com/sites/sales --id b41916e7-e69d-467f-b37f-ff8ecf8f99f2 --newTitle "Some customizer" --clientSideComponentProperties '{\"testMessage\":\"Test message\"}'
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Note, how the clientSideComponentProperties option (--clientSideComponentProperties) has escaped double quotes `'{\"testMessage\":\"Test message\"}'` compared to execution from bash `'{"testMessage":"Test message"}'`.
|
|
49
|
+
|
|
50
|
+
:::caution Escaping JSON in PowerShell
|
|
51
|
+
|
|
52
|
+
When using the `--clientSideComponentProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
|
|
53
|
+
|
|
54
|
+
:::
|
|
55
|
+
|
|
56
|
+
## Examples
|
|
57
|
+
|
|
58
|
+
Updates the title of an application customizer on the sales site
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
m365 spo applicationcustomizer set --id 058140e3-0e37-44fc-a1d3-79c487d371a3 --newTitle "Some customizer" --webUrl https://contoso.sharepoint.com/sites/sales
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Updates the properties of an application customizer on the sales site
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
m365 spo applicationcustomizer set --id 058140e3-0e37-44fc-a1d3-79c487d371a3 --clientSideComponentProperties '{ "testMessage": "Test message" }' --webUrl https://contoso.sharepoint.com/sites/sales
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Response
|
|
71
|
+
|
|
72
|
+
The command won't return a response on success.
|
|
@@ -22,16 +22,19 @@ m365 spo commandset set [options]
|
|
|
22
22
|
`-i, --id [id]`
|
|
23
23
|
: The id of the ListView Command Set to update. Specify either `title`, `id`or `clientSideComponentId`.
|
|
24
24
|
|
|
25
|
-
`-c, --clientSideComponentId
|
|
25
|
+
`-c, --clientSideComponentId [clientSideComponentId]`
|
|
26
26
|
: The Client Side Component Id (GUID) of the ListView Command Set to update. Specify either `title`, `id`or `clientSideComponentId`.
|
|
27
27
|
|
|
28
|
+
`--newClientSideComponentId [newClientSideComponentId]`
|
|
29
|
+
: The new Client Side Component Id (GUID) of the ListView Command Set.
|
|
30
|
+
|
|
28
31
|
`--newTitle [newTitle]`
|
|
29
32
|
: The new title of the ListView Command Set.
|
|
30
33
|
|
|
31
34
|
`-l, --listType [listType]`
|
|
32
35
|
: The list or library type to register the Command Set on. Allowed values `List`, `Library` or `SitePages`.
|
|
33
36
|
|
|
34
|
-
`--clientSideComponentProperties
|
|
37
|
+
`--clientSideComponentProperties [clientSideComponentProperties]`
|
|
35
38
|
: The Client Side Component properties of the ListView Command Set.
|
|
36
39
|
|
|
37
40
|
`-s, --scope [scope]`
|
|
@@ -64,7 +67,7 @@ When using the `--clientSideComponentProperties` option it's possible to enter a
|
|
|
64
67
|
Updates the title and location of a ListView Command Set on the sales site.
|
|
65
68
|
|
|
66
69
|
```sh
|
|
67
|
-
m365 spo commandset
|
|
70
|
+
m365 spo commandset set --clientSideComponentId 799883f5-7962-4384-a10a-105adaec6ffc --newTitle "Some new title" --location Both --webUrl https://contoso.sharepoint.com/sites/sales --scope Site
|
|
68
71
|
```
|
|
69
72
|
|
|
70
73
|
Updates a ListView Command Set on the sales site with some properties.
|
|
@@ -73,6 +76,12 @@ Updates a ListView Command Set on the sales site with some properties.
|
|
|
73
76
|
m365 spo commandset set --title "Some customizer" --clientSideComponentProperties '{ "someProperty": "Some value" }' --webUrl https://contoso.sharepoint.com/sites/sales --scope Site
|
|
74
77
|
```
|
|
75
78
|
|
|
79
|
+
Updates the Client Side Component Id of a ListView Command Set.
|
|
80
|
+
|
|
81
|
+
```sh
|
|
82
|
+
m365 spo commandset set --title "Some customizer" --newClientSideComponentId b2c5faf3-638f-44ae-bfde-1730d94283bf --webUrl https://contoso.sharepoint.com/sites/sales
|
|
83
|
+
```
|
|
84
|
+
|
|
76
85
|
## Response
|
|
77
86
|
|
|
78
87
|
The command won't return a response on success.
|