@pnp/cli-microsoft365 7.5.0-beta.494c631 → 7.5.0-beta.940b241
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 +2 -2
- package/.eslintrc.cjs +6 -2
- package/.mocharc.json +3 -5
- package/Dockerfile +2 -5
- package/README.md +2 -2
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Command.js +1 -1
- package/dist/m365/app/commands/app-get.js +2 -2
- package/dist/m365/base/AppCommand.js +2 -2
- package/dist/m365/base/{YammerCommand.js → VivaEngageCommand.js} +2 -2
- package/dist/m365/cli/commands/cli-consent.js +5 -3
- package/dist/m365/entra/aadCommands.js +3 -0
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +2 -2
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-add.js +8 -8
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-get.js +2 -2
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-list.js +2 -2
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-remove.js +153 -0
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +2 -2
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-roleassignment-add.js +4 -4
- package/dist/m365/entra/commands/app/app-add.js +1 -1
- package/dist/m365/entra/commands/app/app-get.js +1 -1
- package/dist/m365/entra/commands/app/app-list.js +1 -1
- package/dist/m365/entra/commands/app/app-permission-add.js +4 -8
- package/dist/m365/entra/commands/app/app-permission-list.js +182 -0
- package/dist/m365/entra/commands/app/app-remove.js +1 -1
- package/dist/m365/entra/commands/app/app-role-add.js +1 -1
- package/dist/m365/entra/commands/app/app-role-list.js +1 -1
- package/dist/m365/entra/commands/app/app-role-remove.js +1 -1
- package/dist/m365/entra/commands/app/app-set.js +1 -1
- package/dist/m365/entra/commands/{sp/sp-add.js → enterpriseapp/enterpriseapp-add.js} +18 -18
- package/dist/m365/entra/commands/{sp/sp-get.js → enterpriseapp/enterpriseapp-get.js} +19 -19
- package/dist/m365/entra/commands/{sp/sp-list.js → enterpriseapp/enterpriseapp-list.js} +13 -13
- package/dist/m365/entra/commands/group/group-add.js +224 -0
- package/dist/m365/entra/commands/group/group-get.js +3 -3
- package/dist/m365/entra/commands/group/group-remove.js +2 -2
- package/dist/m365/entra/commands/group/group-user-add.js +145 -0
- package/dist/m365/entra/commands/group/group-user-list.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-conversation-list.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +3 -3
- package/dist/m365/entra/commands/m365group/m365group-get.js +3 -3
- package/dist/m365/entra/commands/m365group/m365group-remove.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-renew.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-report-activitygroupcounts.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-set.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-teamify.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-user-add.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +3 -3
- package/dist/m365/entra/commands/m365group/m365group-user-remove.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-user-set.js +2 -2
- package/dist/m365/entra/commands/user/user-get.js +38 -38
- package/dist/m365/entra/commands/user/user-registrationdetails-list.js +224 -0
- package/dist/m365/entra/commands.js +17 -0
- package/dist/m365/external/commands/connection/connection-doctor.js +2 -1
- package/dist/m365/file/commands/file-copy.js +151 -0
- package/dist/m365/file/commands.js +1 -0
- package/dist/m365/flow/commands/owner/owner-ensure.js +4 -4
- package/dist/m365/flow/commands/owner/owner-remove.js +4 -4
- package/dist/m365/onenote/commands/notebook/notebook-list.js +2 -2
- package/dist/m365/onenote/commands/page/page-list.js +2 -2
- package/dist/m365/pa/commands/app/app-owner-set.js +2 -2
- package/dist/m365/pa/commands/app/app-permission-ensure.js +4 -4
- package/dist/m365/pa/commands/app/app-permission-remove.js +4 -4
- package/dist/m365/planner/commands/bucket/bucket-add.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-get.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-list.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-remove.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-set.js +2 -2
- package/dist/m365/planner/commands/plan/plan-add.js +2 -2
- package/dist/m365/planner/commands/plan/plan-get.js +2 -2
- package/dist/m365/planner/commands/plan/plan-list.js +2 -2
- package/dist/m365/planner/commands/plan/plan-remove.js +2 -2
- package/dist/m365/planner/commands/plan/plan-set.js +2 -2
- package/dist/m365/planner/commands/roster/roster-member-add.js +2 -2
- package/dist/m365/planner/commands/roster/roster-member-get.js +2 -2
- package/dist/m365/planner/commands/roster/roster-member-remove.js +2 -2
- package/dist/m365/planner/commands/task/task-add.js +2 -2
- package/dist/m365/planner/commands/task/task-get.js +2 -2
- package/dist/m365/planner/commands/task/task-list.js +2 -2
- package/dist/m365/planner/commands/task/task-remove.js +2 -2
- package/dist/m365/planner/commands/task/task-set.js +2 -2
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +4 -3
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -1
- package/dist/m365/spo/commands/group/group-member-add.js +4 -4
- package/dist/m365/spo/commands/group/group-member-remove.js +2 -2
- package/dist/m365/spo/commands/group/group-set.js +2 -2
- package/dist/m365/spo/commands/site/site-remove.js +2 -2
- package/dist/m365/spo/commands/site/site-set.js +2 -2
- package/dist/m365/spo/commands/user/user-ensure.js +2 -2
- package/dist/m365/teams/commands/app/app-install.js +2 -2
- package/dist/m365/teams/commands/channel/channel-get.js +2 -2
- package/dist/m365/teams/commands/channel/channel-list.js +2 -2
- package/dist/m365/teams/commands/channel/channel-member-add.js +2 -2
- package/dist/m365/teams/commands/channel/channel-member-list.js +2 -2
- package/dist/m365/teams/commands/channel/channel-member-remove.js +2 -2
- package/dist/m365/teams/commands/channel/channel-member-set.js +2 -2
- package/dist/m365/teams/commands/channel/channel-remove.js +2 -2
- package/dist/m365/teams/commands/channel/channel-set.js +2 -2
- package/dist/m365/teams/commands/meeting/meeting-add.js +2 -2
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +2 -2
- package/dist/m365/teams/commands/meeting/meeting-get.js +3 -3
- package/dist/m365/teams/commands/meeting/meeting-list.js +2 -2
- package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +2 -2
- package/dist/m365/teams/commands/tab/tab-get.js +2 -2
- package/dist/m365/teams/commands/team/team-add.js +6 -6
- package/dist/m365/teams/commands/team/team-archive.js +2 -2
- package/dist/m365/teams/commands/team/team-get.js +2 -2
- package/dist/m365/teams/commands/team/team-remove.js +2 -2
- package/dist/m365/teams/commands/team/team-unarchive.js +2 -2
- package/dist/m365/{yammer/commands/group/group-list.js → viva/commands/engage/engage-group-list.js} +19 -14
- package/dist/m365/{yammer/commands/group/group-user-add.js → viva/commands/engage/engage-group-user-add.js} +19 -14
- package/dist/m365/{yammer/commands/group/group-user-remove.js → viva/commands/engage/engage-group-user-remove.js} +19 -14
- package/dist/m365/{yammer/commands/message/message-add.js → viva/commands/engage/engage-message-add.js} +19 -14
- package/dist/m365/{yammer/commands/message/message-get.js → viva/commands/engage/engage-message-get.js} +17 -12
- package/dist/m365/{yammer/commands/message/message-like-set.js → viva/commands/engage/engage-message-like-set.js} +21 -16
- package/dist/m365/{yammer/commands/message/message-list.js → viva/commands/engage/engage-message-list.js} +21 -16
- package/dist/m365/{yammer/commands/message/message-remove.js → viva/commands/engage/engage-message-remove.js} +20 -15
- package/dist/m365/{yammer/commands/network/network-list.js → viva/commands/engage/engage-network-list.js} +16 -11
- package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +23 -0
- package/dist/m365/{yammer/commands/yammer-search.js → viva/commands/engage/engage-search.js} +23 -18
- package/dist/m365/{yammer/commands/user/user-get.js → viva/commands/engage/engage-user-get.js} +18 -13
- package/dist/m365/{yammer/commands/user/user-list.js → viva/commands/engage/engage-user-list.js} +18 -13
- package/dist/m365/{yammer/commands.js → viva/commands/engage/yammerCommands.js} +1 -1
- package/dist/m365/viva/commands.js +22 -1
- package/dist/utils/{aadAdministrativeUnit.js → entraAdministrativeUnit.js} +2 -2
- package/dist/utils/{aadDevice.js → entraDevice.js} +2 -2
- package/dist/utils/{aadGroup.js → entraGroup.js} +2 -2
- package/dist/utils/{aadUser.js → entraUser.js} +38 -2
- package/dist/utils/spo.js +24 -2
- package/dist/utils/urlUtil.js +31 -0
- package/dist/utils/validation.js +8 -0
- package/docs/docs/cmd/cli/cli-consent.mdx +9 -9
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +5 -3
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-remove.mdx +107 -0
- package/docs/docs/cmd/entra/app/app-add.mdx +2 -1
- package/docs/docs/cmd/entra/app/app-get.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-list.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-permission-add.mdx +3 -2
- package/docs/docs/cmd/entra/app/app-permission-list.mdx +105 -0
- package/docs/docs/cmd/entra/app/app-remove.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-role-add.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-role-list.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-role-remove.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-set.mdx +1 -0
- package/docs/docs/cmd/entra/{sp/sp-add.mdx → enterpriseapp/enterpriseapp-add.mdx} +16 -15
- package/docs/docs/cmd/entra/{sp/sp-get.mdx → enterpriseapp/enterpriseapp-get.mdx} +15 -14
- package/docs/docs/cmd/entra/{sp/sp-list.mdx → enterpriseapp/enterpriseapp-list.mdx} +22 -21
- package/docs/docs/cmd/entra/group/group-add.mdx +231 -0
- package/docs/docs/cmd/entra/group/group-user-add.mdx +62 -0
- package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +1 -1
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +3 -3
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +246 -0
- package/docs/docs/cmd/external/item/item-add.mdx +1 -1
- package/docs/docs/cmd/file/convert/convert-pdf.mdx +4 -0
- package/docs/docs/cmd/file/file-add.mdx +4 -0
- package/docs/docs/cmd/file/file-copy.mdx +68 -0
- package/docs/docs/cmd/file/file-list.mdx +100 -0
- package/docs/docs/cmd/setup.mdx +4 -0
- package/docs/docs/cmd/spo/list/list-webhook-set.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-list.mdx +1 -1
- package/docs/docs/cmd/spo/theme/theme-set.mdx +14 -2
- package/docs/docs/cmd/{yammer/group/group-list.mdx → viva/engage/engage-group-list.mdx} +13 -13
- package/docs/docs/cmd/{yammer/group/group-user-add.mdx → viva/engage/engage-group-user-add.mdx} +7 -7
- package/docs/docs/cmd/{yammer/group/group-user-remove.mdx → viva/engage/engage-group-user-remove.mdx} +10 -10
- package/docs/docs/cmd/{yammer/message/message-add.mdx → viva/engage/engage-message-add.mdx} +12 -13
- package/docs/docs/cmd/{yammer/message/message-get.mdx → viva/engage/engage-message-get.mdx} +10 -10
- package/docs/docs/cmd/{yammer/message/message-like-set.mdx → viva/engage/engage-message-like-set.mdx} +10 -10
- package/docs/docs/cmd/{yammer/message/message-list.mdx → viva/engage/engage-message-list.mdx} +21 -21
- package/docs/docs/cmd/{yammer/message/message-remove.mdx → viva/engage/engage-message-remove.mdx} +10 -10
- package/docs/docs/cmd/{yammer/network/network-list.mdx → viva/engage/engage-network-list.mdx} +6 -6
- package/docs/docs/cmd/{yammer/report/report-activitycounts.mdx → viva/engage/engage-report-activitycounts.mdx} +9 -9
- package/docs/docs/cmd/{yammer/report/report-activityusercounts.mdx → viva/engage/engage-report-activityusercounts.mdx} +9 -9
- package/docs/docs/cmd/{yammer/report/report-activityuserdetail.mdx → viva/engage/engage-report-activityuserdetail.mdx} +11 -12
- package/docs/docs/cmd/{yammer/report/report-deviceusagedistributionusercounts.mdx → viva/engage/engage-report-deviceusagedistributionusercounts.mdx} +5 -5
- package/docs/docs/cmd/{yammer/report/report-deviceusageusercounts.mdx → viva/engage/engage-report-deviceusageusercounts.mdx} +5 -5
- package/docs/docs/cmd/{yammer/report/report-deviceusageuserdetail.mdx → viva/engage/engage-report-deviceusageuserdetail.mdx} +11 -11
- package/docs/docs/cmd/{yammer/report/report-groupsactivitycounts.mdx → viva/engage/engage-report-groupsactivitycounts.mdx} +9 -9
- package/docs/docs/cmd/{yammer/report/report-groupsactivitydetail.mdx → viva/engage/engage-report-groupsactivitydetail.mdx} +11 -11
- package/docs/docs/cmd/{yammer/report/report-groupsactivitygroupcounts.mdx → viva/engage/engage-report-groupsactivitygroupcounts.mdx} +5 -5
- package/docs/docs/cmd/{yammer/yammer-search.mdx → viva/engage/engage-search.mdx} +10 -10
- package/docs/docs/cmd/{yammer/user/user-get.mdx → viva/engage/engage-user-get.mdx} +8 -8
- package/docs/docs/cmd/{yammer/user/user-list.mdx → viva/engage/engage-user-list.mdx} +11 -11
- package/npm-shrinkwrap.json +228 -166
- package/package.json +20 -19
- package/dist/m365/base/AzmgmtCommand.js +0 -18
- package/dist/m365/base/AzmgmtItemsListCommand.js +0 -41
- package/dist/m365/yammer/commands/report/report-activitycounts.js +0 -15
- package/dist/m365/yammer/commands/report/report-activityusercounts.js +0 -15
- package/dist/m365/yammer/commands/report/report-activityuserdetail.js +0 -15
- package/dist/m365/yammer/commands/report/report-deviceusagedistributionusercounts.js +0 -15
- package/dist/m365/yammer/commands/report/report-deviceusageusercounts.js +0 -15
- package/dist/m365/yammer/commands/report/report-deviceusageuserdetail.js +0 -15
- package/dist/m365/yammer/commands/report/report-groupsactivitycounts.js +0 -15
- package/dist/m365/yammer/commands/report/report-groupsactivitydetail.js +0 -15
- package/dist/m365/yammer/commands/report/report-groupsactivitygroupcounts.js +0 -15
|
@@ -2,46 +2,47 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# entra
|
|
5
|
+
# entra enterpriseapp list
|
|
6
6
|
|
|
7
|
-
Lists the service principals in
|
|
7
|
+
Lists the enterprise applications (or service principals) in Entra ID
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 entra
|
|
12
|
+
m365 entra enterpriseapp list [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Alias
|
|
16
16
|
|
|
17
17
|
```sh
|
|
18
18
|
m365 aad sp list [options]
|
|
19
|
+
m365 entra sp list [options]
|
|
19
20
|
```
|
|
20
21
|
|
|
21
22
|
## Options
|
|
22
23
|
|
|
23
24
|
```md definition-list
|
|
24
25
|
`--displayName [displayName]`
|
|
25
|
-
: Returns only
|
|
26
|
+
: Returns only enterprise applications with the specified name
|
|
26
27
|
|
|
27
28
|
`--tag [tag]`
|
|
28
|
-
: Returns only
|
|
29
|
+
: Returns only enterprise applications with the specified tag
|
|
29
30
|
```
|
|
30
31
|
|
|
31
32
|
<Global />
|
|
32
33
|
|
|
33
34
|
## Examples
|
|
34
35
|
|
|
35
|
-
Return a list of all
|
|
36
|
+
Return a list of all enterprise applications
|
|
36
37
|
|
|
37
38
|
```sh
|
|
38
|
-
m365 entra
|
|
39
|
+
m365 entra enterpriseapp list
|
|
39
40
|
```
|
|
40
41
|
|
|
41
|
-
Return a list of all
|
|
42
|
+
Return a list of all enterprise applications that comply with the display name and the tag parameters
|
|
42
43
|
|
|
43
44
|
```sh
|
|
44
|
-
m365 entra
|
|
45
|
+
m365 entra enterpriseapp list --displayName "My custom enterprise application" --tag "WindowsAzureActiveDirectoryIntegratedApp"
|
|
45
46
|
```
|
|
46
47
|
|
|
47
48
|
## Response
|
|
@@ -56,7 +57,7 @@ m365 entra sp list --displayName "My custom service principal" --tag "WindowsAzu
|
|
|
56
57
|
"deletedDateTime": null,
|
|
57
58
|
"accountEnabled": true,
|
|
58
59
|
"alternativeNames": [],
|
|
59
|
-
"appDisplayName": "My custom
|
|
60
|
+
"appDisplayName": "My custom enterprise application",
|
|
60
61
|
"appDescription": null,
|
|
61
62
|
"appId": "a62ef842-f9ef-49cf-9119-31b85ea58445",
|
|
62
63
|
"applicationTemplateId": null,
|
|
@@ -65,7 +66,7 @@ m365 entra sp list --displayName "My custom service principal" --tag "WindowsAzu
|
|
|
65
66
|
"createdDateTime": "2022-11-28T20:32:11Z",
|
|
66
67
|
"description": null,
|
|
67
68
|
"disabledByMicrosoftStatus": null,
|
|
68
|
-
"displayName": "My custom
|
|
69
|
+
"displayName": "My custom enterprise application",
|
|
69
70
|
"homepage": null,
|
|
70
71
|
"loginUrl": null,
|
|
71
72
|
"logoutUrl": null,
|
|
@@ -102,13 +103,13 @@ m365 entra sp list --displayName "My custom service principal" --tag "WindowsAzu
|
|
|
102
103
|
"keyCredentials": [],
|
|
103
104
|
"oauth2PermissionScopes": [
|
|
104
105
|
{
|
|
105
|
-
"adminConsentDescription": "Allow the application to access My custom
|
|
106
|
-
"adminConsentDisplayName": "Access My custom
|
|
106
|
+
"adminConsentDescription": "Allow the application to access My custom enterprise application on behalf of the signed-in user.",
|
|
107
|
+
"adminConsentDisplayName": "Access My custom enterprise application",
|
|
107
108
|
"id": "907a8cea-411a-461a-bb30-261e52febcca",
|
|
108
109
|
"isEnabled": true,
|
|
109
110
|
"type": "User",
|
|
110
|
-
"userConsentDescription": "Allow the application to access My custom
|
|
111
|
-
"userConsentDisplayName": "Access My custom
|
|
111
|
+
"userConsentDescription": "Allow the application to access My custom enterprise application on your behalf.",
|
|
112
|
+
"userConsentDisplayName": "Access My custom enterprise application",
|
|
112
113
|
"value": "user_impersonation"
|
|
113
114
|
}
|
|
114
115
|
],
|
|
@@ -129,7 +130,7 @@ m365 entra sp list --displayName "My custom service principal" --tag "WindowsAzu
|
|
|
129
130
|
```text
|
|
130
131
|
id displayName tag
|
|
131
132
|
-------------------------------------- ---------------------------- ---------------------------------------
|
|
132
|
-
a62ef842-f9ef-49cf-9119-31b85ea58445 My custom
|
|
133
|
+
a62ef842-f9ef-49cf-9119-31b85ea58445 My custom enterprise application WindowsAzureActiveDirectoryIntegratedApp
|
|
133
134
|
```
|
|
134
135
|
|
|
135
136
|
</TabItem>
|
|
@@ -137,29 +138,29 @@ m365 entra sp list --displayName "My custom service principal" --tag "WindowsAzu
|
|
|
137
138
|
|
|
138
139
|
```csv
|
|
139
140
|
id,accountEnabled,appDisplayName,appId,appOwnerOrganizationId,appRoleAssignmentRequired,createdDateTime,displayName,servicePrincipalType,signInAudience
|
|
140
|
-
226859cc-86f0-40d3-b308-f43b3a729b6e,1,My custom
|
|
141
|
+
226859cc-86f0-40d3-b308-f43b3a729b6e,1,My custom enterprise application,a62ef842-f9ef-49cf-9119-31b85ea58445,fd71909b-55e5-44d2-9f78-dc432421d527,,2022-11-28T20:32:11Z,My custom enterprise application,AzureADMultipleOrgs
|
|
141
142
|
```
|
|
142
143
|
|
|
143
144
|
</TabItem>
|
|
144
145
|
<TabItem value="Markdown">
|
|
145
146
|
|
|
146
147
|
```md
|
|
147
|
-
# entra
|
|
148
|
+
# entra enterpriseapp list
|
|
148
149
|
|
|
149
150
|
Date: 27/4/2023
|
|
150
151
|
|
|
151
|
-
## My custom
|
|
152
|
+
## My custom enterprise application (226859cc-86f0-40d3-b308-f43b3a729b6e)
|
|
152
153
|
|
|
153
154
|
Property | Value
|
|
154
155
|
---------|-------
|
|
155
156
|
id | 226859cc-86f0-40d3-b308-f43b3a729b6e
|
|
156
157
|
accountEnabled | true
|
|
157
|
-
appDisplayName | My custom
|
|
158
|
+
appDisplayName | My custom enterprise application
|
|
158
159
|
appId | a62ef842-f9ef-49cf-9119-31b85ea58445
|
|
159
160
|
appOwnerOrganizationId | fd71909b-55e5-44d2-9f78-dc432421d527
|
|
160
161
|
appRoleAssignmentRequired | false
|
|
161
162
|
createdDateTime | 2022-11-28T20:32:11Z
|
|
162
|
-
displayName | My custom
|
|
163
|
+
displayName | My custom enterprise application
|
|
163
164
|
servicePrincipalType | Application
|
|
164
165
|
signInAudience | AzureADMultipleOrg
|
|
165
166
|
```
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# entra group add
|
|
6
|
+
|
|
7
|
+
Creates a Microsoft Entra group
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra group add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
m365 aad group add [options]
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Options
|
|
22
|
+
|
|
23
|
+
```md definition-list
|
|
24
|
+
`-n, --displayName <displayName>`
|
|
25
|
+
: The name for the group. The maximum length is 256 characters.
|
|
26
|
+
|
|
27
|
+
`-d, --description [description]`
|
|
28
|
+
: The description for the group.
|
|
29
|
+
|
|
30
|
+
`-t, --type <type>`
|
|
31
|
+
: The group type. Valid values: `microsoft365` or `security`.
|
|
32
|
+
|
|
33
|
+
`-m, --mailNickname [mailNickname]`
|
|
34
|
+
: The mail alias for the group (part before the @). Maximum length is 64 characters.
|
|
35
|
+
|
|
36
|
+
`--ownerIds [ownerIds]`
|
|
37
|
+
: Comma-separated list of IDs of Microsoft Entra ID users that will be group owners. Specify either `ownerIds` or `ownerUserNames`, but not both.
|
|
38
|
+
|
|
39
|
+
`--ownerUserNames [ownerUserNames]`
|
|
40
|
+
: Comma-separated list of UPNs of Microsoft Entra ID users that will be group owners. Specify either `ownerIds` or `ownerUserNames`, but not both.
|
|
41
|
+
|
|
42
|
+
`--memberIds [memberIds]`
|
|
43
|
+
: Comma-separated list of IDs of Microsoft Entra ID users that will be group members. Specify either `memberIds` or `memberUserNames`, but not both.
|
|
44
|
+
|
|
45
|
+
`--memberUserNames [memberUserNames]`
|
|
46
|
+
: Comma-separated list of UPNs of Microsoft Entra ID users that will be group members. Specify either `memberIds` or `memberUserNames`, but not both.
|
|
47
|
+
|
|
48
|
+
`--visibility [visibility]`
|
|
49
|
+
: Specifies the group join policy and group content visibility for Microsoft 365 groups. Possible values are: `Private`, `Public`, or `HiddenMembership`. Defaults to `Public`. Specify only when creating a group of type `microsoft365`.
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
<Global />
|
|
53
|
+
|
|
54
|
+
## Remarks
|
|
55
|
+
|
|
56
|
+
:::info
|
|
57
|
+
|
|
58
|
+
The `visibility` option affects the behavior of the group.
|
|
59
|
+
|
|
60
|
+
With the `Public` visibility:
|
|
61
|
+
- Anyone can join the group without needing owner permission.
|
|
62
|
+
- Anyone can view the attributes of the group.
|
|
63
|
+
- Anyone can see the members of the group.
|
|
64
|
+
|
|
65
|
+
With the `Private` visibilty:
|
|
66
|
+
- Owner permission is needed to join the group.
|
|
67
|
+
- Anyone can view the attributes of the group.
|
|
68
|
+
- Anyone can see the members of the group.
|
|
69
|
+
|
|
70
|
+
With the `HiddenMembership` visibility:
|
|
71
|
+
- Owner permission is needed to join the group.
|
|
72
|
+
- Guest users cannot view the attributes of the group.
|
|
73
|
+
- Non-members cannot see the members of the group. This setting doesn't affect visibility of group owners.
|
|
74
|
+
- Administrators (global, company, user, and helpdesk) can view the membership of the group.
|
|
75
|
+
- The group appears in the global address book (GAL).
|
|
76
|
+
|
|
77
|
+
:::
|
|
78
|
+
|
|
79
|
+
:::note
|
|
80
|
+
|
|
81
|
+
The `HiddenMembership` visibility can be set only for Microsoft 365 groups when the groups are created. It can't be updated later.
|
|
82
|
+
|
|
83
|
+
:::
|
|
84
|
+
|
|
85
|
+
This command allows using unknown options. For a comprehensive list of group properties, please refer to the [Graph documentation page](https://learn.microsoft.com/graph/api/resources/group?view=graph-rest-1.0#properties).
|
|
86
|
+
|
|
87
|
+
If the specified option is not found, you will receive a `Resource 'xyz' does not exist or one of its queried reference-property objects are not present.` error.
|
|
88
|
+
|
|
89
|
+
## Examples
|
|
90
|
+
|
|
91
|
+
Create a security group without any owners or members
|
|
92
|
+
|
|
93
|
+
```sh
|
|
94
|
+
m365 entra group add --displayName Developers --type security
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Create a private Microsoft 365 group with owners and members and a custom mail address
|
|
98
|
+
|
|
99
|
+
```sh
|
|
100
|
+
m365 entra group add --displayName Developers --type microsoft365 --mailNickname devs --ownerUserNames john.doe@contoso.com --memberUserNames "john.doe@contoso.com,adele.vance@contoso.com" --visibility Private
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Create a public Microsoft 365 group without any owners or members
|
|
104
|
+
|
|
105
|
+
```sh
|
|
106
|
+
m365 entra group add --displayName Developers --type microsoft365 --description "This group is for all developers in the company." --visibility Public
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## Response
|
|
111
|
+
|
|
112
|
+
<Tabs>
|
|
113
|
+
<TabItem value="JSON">
|
|
114
|
+
|
|
115
|
+
```json
|
|
116
|
+
{
|
|
117
|
+
"id": "ae0e8388-cd70-427f-9503-c57498ee3337",
|
|
118
|
+
"deletedDateTime": null,
|
|
119
|
+
"classification": null,
|
|
120
|
+
"createdDateTime": "2024-01-10T11:33:18Z",
|
|
121
|
+
"creationOptions": [],
|
|
122
|
+
"description": "This group is for all developers in the company.",
|
|
123
|
+
"displayName": "Developers",
|
|
124
|
+
"expirationDateTime": null,
|
|
125
|
+
"groupTypes": [
|
|
126
|
+
"Unified"
|
|
127
|
+
],
|
|
128
|
+
"isAssignableToRole": null,
|
|
129
|
+
"mail": "devs@contoso.com",
|
|
130
|
+
"mailEnabled": true,
|
|
131
|
+
"mailNickname": "devs",
|
|
132
|
+
"membershipRule": null,
|
|
133
|
+
"membershipRuleProcessingState": null,
|
|
134
|
+
"onPremisesDomainName": null,
|
|
135
|
+
"onPremisesLastSyncDateTime": null,
|
|
136
|
+
"onPremisesNetBiosName": null,
|
|
137
|
+
"onPremisesSamAccountName": null,
|
|
138
|
+
"onPremisesSecurityIdentifier": null,
|
|
139
|
+
"onPremisesSyncEnabled": null,
|
|
140
|
+
"preferredDataLocation": null,
|
|
141
|
+
"preferredLanguage": null,
|
|
142
|
+
"proxyAddresses": [
|
|
143
|
+
"SMTP:devs@contoso.com"
|
|
144
|
+
],
|
|
145
|
+
"renewedDateTime": "2024-01-10T11:33:18Z",
|
|
146
|
+
"resourceBehaviorOptions": [],
|
|
147
|
+
"resourceProvisioningOptions": [],
|
|
148
|
+
"securityEnabled": true,
|
|
149
|
+
"securityIdentifier": "S-1-12-1-2920186760-1115671920-1959068565-926150296",
|
|
150
|
+
"theme": null,
|
|
151
|
+
"visibility": "Public",
|
|
152
|
+
"onPremisesProvisioningErrors": [],
|
|
153
|
+
"serviceProvisioningErrors": []
|
|
154
|
+
}
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
</TabItem>
|
|
158
|
+
<TabItem value="Text">
|
|
159
|
+
|
|
160
|
+
```text
|
|
161
|
+
classification : null
|
|
162
|
+
createdDateTime : 2024-01-10T11:36:31Z
|
|
163
|
+
creationOptions : []
|
|
164
|
+
deletedDateTime : null
|
|
165
|
+
description : This group is for all developers in the company.
|
|
166
|
+
displayName : Developers
|
|
167
|
+
expirationDateTime : null
|
|
168
|
+
groupTypes : ["Unified"]
|
|
169
|
+
id : f7bce6b2-c017-4a00-ba0c-fbbe458364aa
|
|
170
|
+
isAssignableToRole : null
|
|
171
|
+
mail : dev@contoso.com
|
|
172
|
+
mailEnabled : true
|
|
173
|
+
mailNickname : devs
|
|
174
|
+
membershipRule : null
|
|
175
|
+
membershipRuleProcessingState: null
|
|
176
|
+
onPremisesDomainName : null
|
|
177
|
+
onPremisesLastSyncDateTime : null
|
|
178
|
+
onPremisesNetBiosName : null
|
|
179
|
+
onPremisesProvisioningErrors : []
|
|
180
|
+
onPremisesSamAccountName : null
|
|
181
|
+
onPremisesSecurityIdentifier : null
|
|
182
|
+
onPremisesSyncEnabled : null
|
|
183
|
+
preferredDataLocation : null
|
|
184
|
+
preferredLanguage : null
|
|
185
|
+
proxyAddresses : ["SMTP:devs@contoso.com"]
|
|
186
|
+
renewedDateTime : 2024-01-10T11:36:31Z
|
|
187
|
+
resourceBehaviorOptions : []
|
|
188
|
+
resourceProvisioningOptions : []
|
|
189
|
+
securityEnabled : true
|
|
190
|
+
securityIdentifier : S-1-12-1-4156352178-1241563159-3204123834-2858713925
|
|
191
|
+
serviceProvisioningErrors : []
|
|
192
|
+
theme : null
|
|
193
|
+
visibility : Public
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
</TabItem>
|
|
197
|
+
<TabItem value="CSV">
|
|
198
|
+
|
|
199
|
+
```csv
|
|
200
|
+
id,deletedDateTime,classification,createdDateTime,description,displayName,expirationDateTime,isAssignableToRole,mail,mailEnabled,mailNickname,membershipRule,membershipRuleProcessingState,onPremisesDomainName,onPremisesLastSyncDateTime,onPremisesNetBiosName,onPremisesSamAccountName,onPremisesSecurityIdentifier,onPremisesSyncEnabled,preferredDataLocation,preferredLanguage,renewedDateTime,securityEnabled,securityIdentifier,theme,visibility
|
|
201
|
+
4c63e8cd-eb2b-4b0d-9251-d709cc75cf5e,,,2024-01-10T11:37:02Z,This group is for all developers in the company.,Developers,,,devs@contoso.com,1,devs,,,,,,,,,,,2024-01-10T11:37:02Z,1,S-1-12-1-1281616077-1259203371-165106066-1590654412,,Public
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
</TabItem>
|
|
205
|
+
<TabItem value="Markdown">
|
|
206
|
+
|
|
207
|
+
```md
|
|
208
|
+
# entra group add --displayName "Developers" --type "microsoft365" --description "This group is for all developers in the company." --visibility "Public" --mailNickname "devs"
|
|
209
|
+
|
|
210
|
+
Date: 1/10/2024
|
|
211
|
+
|
|
212
|
+
## Developers (b3fd8e8f-eced-45c7-a366-178bc5c1db37)
|
|
213
|
+
|
|
214
|
+
Property | Value
|
|
215
|
+
---------|-------
|
|
216
|
+
id | b3fd8e8f-eced-45c7-a366-178bc5c1db37
|
|
217
|
+
createdDateTime | 2024-01-10T11:37:39Z
|
|
218
|
+
description | This group is for all developers in the company.
|
|
219
|
+
displayName | Developers
|
|
220
|
+
mail | devs@contoso.com
|
|
221
|
+
mailEnabled | true
|
|
222
|
+
mailNickname | devs
|
|
223
|
+
renewedDateTime | 2024-01-10T11:37:39Z
|
|
224
|
+
securityEnabled | true
|
|
225
|
+
securityIdentifier | S-1-12-1-3019738767-1170730221-2333566627-937148869
|
|
226
|
+
visibility | Public
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
</TabItem>
|
|
230
|
+
</Tabs>
|
|
231
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# entra group user add
|
|
4
|
+
|
|
5
|
+
Adds a user to a Microsoft Entra ID group
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra group user add [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-i, --groupId [groupId]`
|
|
17
|
+
: The ID of the Entra ID group. Specify `groupId` or `groupDisplayName` but not both.
|
|
18
|
+
|
|
19
|
+
`-n, --groupDisplayName [groupDisplayName]`
|
|
20
|
+
: The display name of the Entra ID group. Specify `groupId` or `groupDisplayName` but not both.
|
|
21
|
+
|
|
22
|
+
`--ids [ids]`
|
|
23
|
+
: Entra ID IDs of users. You can also pass a comma-separated list of IDs. Specify either `ids` or `userNames` but not both.
|
|
24
|
+
|
|
25
|
+
`--userNames [userNames]`
|
|
26
|
+
: The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `ids` or `userNames` but not both.
|
|
27
|
+
|
|
28
|
+
`-r, --role <role>`
|
|
29
|
+
: The role to be assigned to the new users. Valid values: `Owner`, `Member`.
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
<Global />
|
|
33
|
+
|
|
34
|
+
## Examples
|
|
35
|
+
|
|
36
|
+
Add a single user specified by ID as a member to a group specified by display name
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
m365 entra group user add --groupDisplayName Developers --ids 098b9f52-f48c-4401-819f-29c33794c3f5 --role Member
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Add multiple users specified by ID as members to a group specified by ID
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
m365 entra group user add --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --ids "098b9f52-f48c-4401-819f-29c33794c3f5,f1e06e31-3abf-4746-83c2-1513d71f38b8" --role Member
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Add a single user specified by UPN as an owner to a group specified by display name
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 entra group user add --groupDisplayName Developers --userNames john.doe@contoso.com --role Owner
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Adds multiple users specified by UPN as owners to a group specified by ID
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 entra group user add --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --userNames "john.doe@contoso.com,adele.vance@contoso.com" --role Owner
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Response
|
|
61
|
+
|
|
62
|
+
The command won't return a response on success.
|
|
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
|
|
|
4
4
|
|
|
5
5
|
# entra m365group report activitygroupcounts
|
|
6
6
|
|
|
7
|
-
Get the daily total number of groups and how many of them were active based on email conversations,
|
|
7
|
+
Get the daily total number of groups and how many of them were active based on email conversations, Viva Engage posts, and SharePoint file activities.
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -33,11 +33,11 @@ m365 aad oauth2grant add [options]
|
|
|
33
33
|
|
|
34
34
|
## Remarks
|
|
35
35
|
|
|
36
|
-
Before you can grant service principal OAuth2 permissions, you need its `objectId`. You can retrieve it using the [entra
|
|
36
|
+
Before you can grant service principal OAuth2 permissions, you need its `objectId`. You can retrieve it using the [entra enterpriseapp get](../enterpriseapp/enterpriseapp-get.mdx) command.
|
|
37
37
|
|
|
38
|
-
The resource for which you want to grant permissions is designated using its `objectId`. You can retrieve it using the [entra
|
|
38
|
+
The resource for which you want to grant permissions is designated using its `objectId`. You can retrieve it using the [entra enterpriseapp get](../enterpriseapp/enterpriseapp-get.mdx) command, the same way you would retrieve the `objectId` of the service principal.
|
|
39
39
|
|
|
40
|
-
When granting OAuth2 permissions, you have to specify which permission scopes you want to grant the service principal. You can get the list of available permission scopes either from the resource documentation or from the `appRoles` property when retrieving information about the service principal using the [entra
|
|
40
|
+
When granting OAuth2 permissions, you have to specify which permission scopes you want to grant the service principal. You can get the list of available permission scopes either from the resource documentation or from the `appRoles` property when retrieving information about the service principal using the [entra enterpriseapp get](../enterpriseapp/enterpriseapp-get.mdx) command. Multiple permission scopes can be specified separated by a space.
|
|
41
41
|
|
|
42
42
|
When granting OAuth2 permissions, the values of the `clientId` and `resourceId` properties form a unique key. If a grant for the same `clientId`-`resourceId` pair already exists, running the `entra oauth2grant add` command will fail with an error. If you want to change permissions on an existing OAuth2 grant use the [entra oauth2grant set](./oauth2grant-set.mdx) command instead.
|
|
43
43
|
|
|
@@ -29,7 +29,7 @@ m365 aad oauth2grant list [options]
|
|
|
29
29
|
|
|
30
30
|
## Remarks
|
|
31
31
|
|
|
32
|
-
In order to list existing OAuth2 permissions granted to a service principal, you need its `objectId`. You can retrieve it using the [entra
|
|
32
|
+
In order to list existing OAuth2 permissions granted to a service principal, you need its `objectId`. You can retrieve it using the [entra enterpriseapp get](../enterpriseapp/enterpriseapp-get.mdx) command.
|
|
33
33
|
|
|
34
34
|
When using the text output type (default), the command lists only the values of the `objectId`, `resourceId` and `scope` properties of the OAuth grant. When setting the output type to JSON, all available properties are included in the command output.
|
|
35
35
|
|