@pnp/cli-microsoft365 10.6.0-beta.add4854 → 10.7.0-beta.4bcc4fe
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +2 -1
- package/dist/Command.js +10 -0
- package/dist/auth/MsalNetworkClient.js +48 -0
- package/dist/config.js +1 -0
- package/dist/m365/app/commands/app-get.js +3 -13
- package/dist/m365/app/commands/permission/permission-list.js +4 -14
- package/dist/m365/entra/commands/app/app-get.js +27 -21
- package/dist/m365/entra/commands/app/app-permission-list.js +28 -22
- package/dist/m365/entra/commands/app/app-remove.js +22 -19
- package/dist/m365/entra/commands/app/app-role-add.js +22 -19
- package/dist/m365/entra/commands/app/app-role-list.js +22 -19
- package/dist/m365/entra/commands/app/app-role-remove.js +39 -36
- package/dist/m365/entra/commands/app/app-set.js +22 -19
- package/dist/m365/entra/commands/group/group-member-add.js +1 -1
- package/dist/m365/entra/commands/group/group-member-remove.js +197 -0
- package/dist/m365/entra/commands/policy/policy-list.js +46 -3
- package/dist/m365/entra/commands.js +1 -0
- package/dist/m365/flow/commands/flow-list.js +1 -1
- package/dist/m365/graph/commands/openextension/openextension-get.js +57 -0
- package/dist/m365/graph/commands/openextension/openextension-list.js +62 -0
- package/dist/m365/graph/commands/openextension/openextension-remove.js +68 -0
- package/dist/m365/graph/commands.js +3 -0
- package/dist/m365/pp/commands/card/card-clone.js +7 -1
- package/dist/m365/pp/commands/card/card-get.js +5 -2
- package/dist/m365/pp/commands/card/card-remove.js +7 -1
- package/dist/m365/pp/commands/solution/solution-get.js +5 -11
- package/dist/m365/pp/commands/solution/solution-publish.js +6 -16
- package/dist/m365/pp/commands/solution/solution-remove.js +4 -13
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +9 -2
- package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +0 -19
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.21.0.js +25 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.21.1.js +25 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +3 -1
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +0 -16
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002029_DEVDEP_microsoft_rush_stack_compiler_5_3.js +13 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.21.0.js +63 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.21.1.js +53 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +3 -1
- package/dist/m365/spfx/commands/spfx-doctor.js +30 -0
- package/dist/m365/util/commands/accesstoken/accesstoken-get.js +13 -3
- package/dist/utils/accessToken.js +8 -0
- package/dist/utils/powerPlatform.js +25 -4
- package/dist/utils/prompt.js +9 -2
- package/dist/utils/types.js +1 -0
- package/docs/docs/cmd/entra/group/group-member-add.mdx +1 -1
- package/docs/docs/cmd/entra/group/group-member-remove.mdx +96 -0
- package/docs/docs/cmd/entra/policy/policy-list.mdx +1 -1
- package/docs/docs/cmd/graph/openextension/openextension-get.mdx +111 -0
- package/docs/docs/cmd/graph/openextension/openextension-list.mdx +129 -0
- package/docs/docs/cmd/graph/openextension/openextension-remove.mdx +59 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -4
- package/docs/docs/cmd/util/accesstoken/accesstoken-get.mdx +72 -0
- package/npm-shrinkwrap.json +517 -481
- package/package.json +14 -14
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# entra group member remove
|
|
4
|
+
|
|
5
|
+
Removes members from a Microsoft Entra group
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra group member remove [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 `groupName` but not both.
|
|
18
|
+
|
|
19
|
+
`-n, --groupName [groupName]`
|
|
20
|
+
: The display name of the Entra ID group. Specify `groupId` or `groupName` but not both.
|
|
21
|
+
|
|
22
|
+
`--userIds [userIds]`
|
|
23
|
+
: Microsoft Entra user IDs. You can also pass a comma-separated list of IDs. Specify either `userIds`, `userNames`, `subgroupIds` or `subgroupNames` but not multiple.
|
|
24
|
+
|
|
25
|
+
`--userNames [userNames]`
|
|
26
|
+
: The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `userIds`, `userNames`, `subgroupIds` or `subgroupNames` but not multiple.
|
|
27
|
+
|
|
28
|
+
`--subgroupIds [subgroupIds]`
|
|
29
|
+
: Microsoft Entra group IDs. You can also pass a comma-separated list of IDs. Specify either `userIds`, `userNames`, `subgroupIds` or `subgroupNames` but not multiple.
|
|
30
|
+
|
|
31
|
+
`--subgroupNames [subgroupNames]`
|
|
32
|
+
: The display names of Microsoft Entra groups. You can also pass a comma-separated list of group display names. Specify either `userIds`, `userNames`, `subgroupIds` or `subgroupNames` but not multiple.
|
|
33
|
+
|
|
34
|
+
`-r, --role [role]`
|
|
35
|
+
: The role to be removed from the users. Valid values: `Owner`, `Member`. Defaults to both.
|
|
36
|
+
|
|
37
|
+
`--suppressNotFound`
|
|
38
|
+
: Suppress errors when a user was not found in a group.
|
|
39
|
+
|
|
40
|
+
`-f, --force`
|
|
41
|
+
: Don't prompt for confirmation.
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
<Global />
|
|
45
|
+
|
|
46
|
+
## Remarks
|
|
47
|
+
|
|
48
|
+
:::tip
|
|
49
|
+
|
|
50
|
+
When you use the `suppressNotFound` option, the command will not return an error if a user is not found as either an owner or a member of the group.
|
|
51
|
+
This feature proves useful when you need to remove a user from a group, but you are uncertain whether the user holds the role of a member or an owner within that group.
|
|
52
|
+
Without using this option, you would need to manually verify the user's role in the group before proceeding with removal.
|
|
53
|
+
|
|
54
|
+
:::
|
|
55
|
+
|
|
56
|
+
## Examples
|
|
57
|
+
|
|
58
|
+
Remove a single user specified by ID as member from a group specified by display name
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
m365 entra group member remove --groupName Developers --userIds 098b9f52-f48c-4401-819f-29c33794c3f5 --role Member
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Remove multiple users specified by ID from a group specified by ID
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
m365 entra group member remove --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --userIds "098b9f52-f48c-4401-819f-29c33794c3f5,f1e06e31-3abf-4746-83c2-1513d71f38b8"
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Remove a single user specified by UPN as an owner from a group specified by display name
|
|
71
|
+
|
|
72
|
+
```sh
|
|
73
|
+
m365 entra group member remove --groupName Developers --userNames john.doe@contoso.com --role Owner
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Remove multiple users specified by UPN from a group specified by ID
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
m365 entra group member remove --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --userNames "john.doe@contoso.com,adele.vance@contoso.com"
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Remove a single user specified by ID as owner and member of the group and suppress errors when the user was not found as owner or member
|
|
83
|
+
|
|
84
|
+
```sh
|
|
85
|
+
m365 entra group member remove --groupName Developers --userIds 098b9f52-f48c-4401-819f-29c33794c3f5 --suppressNotFound
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Remove 2 nested groups referenced by id from a security group
|
|
89
|
+
|
|
90
|
+
```sh
|
|
91
|
+
m365 entra group member remove --groupName Developers --subgroupIds "b51b6157-839f-4d92-8dab-ac61b53c6c40,1e793f86-8dc6-4df6-8037-649ef9a22330" --role Member
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Response
|
|
95
|
+
|
|
96
|
+
The command doesn't return a response on success.
|
|
@@ -16,7 +16,7 @@ m365 entra policy list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-t, --type [type]`
|
|
19
|
-
: The type of policies to return. Allowed values `activityBasedTimeout`, `authorization`, `claimsMapping`, `homeRealmDiscovery`, `identitySecurityDefaultsEnforcement`, `tokenIssuance`, `tokenLifetime`. If omitted, all policies are returned.
|
|
19
|
+
: The type of policies to return. Allowed values `activityBasedTimeout`, `adminConsentRequest`, `appManagement`, `authenticationFlows`, `authenticationMethods`, `authenticationStrength`, `authorization`, `claimsMapping`, `conditionalAccess`, `crossTenantAccess`, `defaultAppManagement`, `deviceRegistration`, `featureRolloutPolicy`, `homeRealmDiscovery`, `identitySecurityDefaultsEnforcement`, `permissionGrant`, `roleManagement`, `tokenIssuance`, `tokenLifetime`. If omitted, all policies are returned.
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
<Global />
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# graph openextension get
|
|
6
|
+
|
|
7
|
+
Retrieves a specific open extension for a resource
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 graph openextension get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-n, --name <name>`
|
|
19
|
+
: The name of the open extension to retrieve.
|
|
20
|
+
|
|
21
|
+
`-i, --resourceId <resourceId>`
|
|
22
|
+
: The Id of the resource for which to retrieve the open extension.
|
|
23
|
+
|
|
24
|
+
`-t, --resourceType <resourceType>`
|
|
25
|
+
: The type of resource. Allowed values are `user`, `group`, `device`, `organization`.
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
<Global />
|
|
29
|
+
|
|
30
|
+
## Examples
|
|
31
|
+
|
|
32
|
+
Retrieve a specified open extension for a user specified by id.
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 graph openextension get --resourceId eb77fbcf-6fe8-458b-985d-1747284793bc --name 'com.contoso.roamingSettings' --resourceType user
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Retrieve a specified open extension for a user specified by UPN.
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 graph openextension get --resourceId john.doe@contoso.com --name 'com.contoso.roamingSettings' --resourceType user
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Response
|
|
45
|
+
|
|
46
|
+
<Tabs>
|
|
47
|
+
<TabItem value="JSON">
|
|
48
|
+
|
|
49
|
+
```json
|
|
50
|
+
{
|
|
51
|
+
"extensionName": "com.contoso.roamingSettings",
|
|
52
|
+
"name": "com.contoso.roamingSettings",
|
|
53
|
+
"resourceId": "john.doe@contoso.com",
|
|
54
|
+
"resourceType": "user",
|
|
55
|
+
"theme": "dark",
|
|
56
|
+
"color": "red",
|
|
57
|
+
"language": "English",
|
|
58
|
+
"id": "com.contoso.roamingSettings"
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
</TabItem>
|
|
63
|
+
<TabItem value="Text">
|
|
64
|
+
|
|
65
|
+
```text
|
|
66
|
+
color : red
|
|
67
|
+
extensionName: com.contoso.roamingSettings
|
|
68
|
+
id : com.contoso.roamingSettings
|
|
69
|
+
language : English
|
|
70
|
+
name : com.contoso.roamingSettings
|
|
71
|
+
resourceId : john.doe@contoso.com
|
|
72
|
+
resourceType : user
|
|
73
|
+
theme : dark
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
</TabItem>
|
|
77
|
+
<TabItem value="CSV">
|
|
78
|
+
|
|
79
|
+
```csv
|
|
80
|
+
extensionName,name,resourceId,resourceType,theme,color,language,id
|
|
81
|
+
com.contoso.roamingSettings,com.contoso.roamingSettings,john.doe@contoso.com,user,dark,red,English,com.contoso.roamingSettings
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
</TabItem>
|
|
85
|
+
<TabItem value="Markdown">
|
|
86
|
+
|
|
87
|
+
```md
|
|
88
|
+
# graph openextension get --debug "false" --verbose "false" --resourceId "john.doe@contoso.com" --resourceType "user" --name "com.contoso.roamingSettings"
|
|
89
|
+
|
|
90
|
+
Date: 2025-04-07
|
|
91
|
+
|
|
92
|
+
## com.contoso.roamingSettings (com.contoso.roamingSettings)
|
|
93
|
+
|
|
94
|
+
Property | Value
|
|
95
|
+
---------|-------
|
|
96
|
+
extensionName | com.contoso.roamingSettings
|
|
97
|
+
name | com.contoso.roamingSettings
|
|
98
|
+
resourceId | john.doe@contoso.com
|
|
99
|
+
resourceType | user
|
|
100
|
+
theme | dark
|
|
101
|
+
color | red
|
|
102
|
+
language | English
|
|
103
|
+
id | com.contoso.roamingSettings
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
</TabItem>
|
|
107
|
+
</Tabs>
|
|
108
|
+
|
|
109
|
+
## More information
|
|
110
|
+
|
|
111
|
+
- Open extensions: https://learn.microsoft.com/graph/extensibility-overview?tabs=http#open-extensions
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# graph openextension list
|
|
6
|
+
|
|
7
|
+
Retrieves all open extensions for a resource
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 graph openextension list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --resourceId <resourceId>`
|
|
19
|
+
: The Id of the resource for which to retrieve open extensions.
|
|
20
|
+
|
|
21
|
+
`-t, --resourceType <resourceType>`
|
|
22
|
+
: The type of resource. Allowed values are `user`, `group`, `device`, `organization`.
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
<Global />
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Retrieve open extensions for a user specified by id
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 graph openextension list --resourceId eb77fbcf-6fe8-458b-985d-1747284793bc --resourceType user
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Retrieve open extensions for a user specified by UPN
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 graph openextension list --resourceId john.doe@contoso.com --resourceType user
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Retrieve open extensions for a group specified by id
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 graph openextension list --resourceId 19588303-70bf-44a4-beb1-e2f0f1ed06b3 --resourceType group
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Retrieve open extensions for an organization specified by id
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 graph openextension list --resourceId c956e711-f074-40c3-8431-fbd69bb67d9c --resourceType organization
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
<Tabs>
|
|
56
|
+
<TabItem value="JSON">
|
|
57
|
+
|
|
58
|
+
```json
|
|
59
|
+
[
|
|
60
|
+
{
|
|
61
|
+
"extensionName": "com.contoso.roamingSettings",
|
|
62
|
+
"theme": "dark",
|
|
63
|
+
"color": "purple",
|
|
64
|
+
"lang": "Japanese",
|
|
65
|
+
"id": "com.contoso.roamingSettings"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"extensionName": "com.test.m365",
|
|
69
|
+
"settings": {
|
|
70
|
+
"theme": "dark"
|
|
71
|
+
},
|
|
72
|
+
"supportedSystem": "Linux",
|
|
73
|
+
"id": "com.test.m365"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
</TabItem>
|
|
79
|
+
<TabItem value="Text">
|
|
80
|
+
|
|
81
|
+
```text
|
|
82
|
+
extensionName id
|
|
83
|
+
--------------------------- ---------------------------
|
|
84
|
+
com.contoso.roamingSettings com.contoso.roamingSettings
|
|
85
|
+
com.test.m365 com.test.m365
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
</TabItem>
|
|
89
|
+
<TabItem value="CSV">
|
|
90
|
+
|
|
91
|
+
```csv
|
|
92
|
+
extensionName,theme,color,lang,id
|
|
93
|
+
com.contoso.roamingSettings,dark,purple,Japanese,com.contoso.roamingSettings
|
|
94
|
+
com.test.m365,,,,com.test.m365
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
</TabItem>
|
|
98
|
+
<TabItem value="Markdown">
|
|
99
|
+
|
|
100
|
+
```md
|
|
101
|
+
# graph openextension list --resourceId "eb77fbcf-6fe8-458b-985d-1747284793bc" --resourceType "user"
|
|
102
|
+
|
|
103
|
+
Date: 3/29/2025
|
|
104
|
+
|
|
105
|
+
## com.contoso.roamingSettings
|
|
106
|
+
|
|
107
|
+
Property | Value
|
|
108
|
+
---------|-------
|
|
109
|
+
extensionName | com.contoso.roamingSettings
|
|
110
|
+
theme | dark
|
|
111
|
+
color | purple
|
|
112
|
+
lang | Japanese
|
|
113
|
+
id | com.contoso.roamingSettings
|
|
114
|
+
|
|
115
|
+
## com.test.m365
|
|
116
|
+
|
|
117
|
+
Property | Value
|
|
118
|
+
---------|-------
|
|
119
|
+
extensionName | com.test.m365
|
|
120
|
+
supportedSystem | Linux
|
|
121
|
+
id | com.test.m365
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
</TabItem>
|
|
125
|
+
</Tabs>
|
|
126
|
+
|
|
127
|
+
## More information
|
|
128
|
+
|
|
129
|
+
- Open extensions: https://learn.microsoft.com/graph/extensibility-overview?tabs=http#open-extensions
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# graph openextension remove
|
|
6
|
+
|
|
7
|
+
Removes a specific open extension for a resource
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 graph openextension remove [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-n, --name <name>`
|
|
19
|
+
: The name of the open extension to remove.
|
|
20
|
+
|
|
21
|
+
`-i, --resourceId <resourceId>`
|
|
22
|
+
: The Id of the resource for which to remove the open extension.
|
|
23
|
+
|
|
24
|
+
`-t, --resourceType <resourceType>`
|
|
25
|
+
: The type of resource. Allowed values are `user`, `group`, `device`, `organization`.
|
|
26
|
+
|
|
27
|
+
`-f, --force`
|
|
28
|
+
: Don't prompt for confirmation.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
<Global />
|
|
32
|
+
|
|
33
|
+
## Examples
|
|
34
|
+
|
|
35
|
+
Remove a specified open extension for a user specified by id.
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 graph openextension remove --resourceId eb77fbcf-6fe8-458b-985d-1747284793bc --name 'com.contoso.roamingSettings' --resourceType user
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Remove a specified open extension for a user specified by UPN without confirmation prompt.
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 graph openextension remove --resourceId john.doe@contoso.com --name 'com.contoso.roamingSettings' --resourceType user --force
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Remove a specified open extension for a group specified by id.
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 graph openextension remove --resourceId c956e711-f074-40c3-8431-fbd69bb67d9c --name 'com.contoso.groupSettings' --resourceType group
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
The command won't return a response on success.
|
|
56
|
+
|
|
57
|
+
## More information
|
|
58
|
+
|
|
59
|
+
- Open extensions: https://learn.microsoft.com/graph/extensibility-overview?tabs=http#open-extensions
|
|
@@ -26,16 +26,13 @@ m365 spfx project upgrade [options]
|
|
|
26
26
|
|
|
27
27
|
`--preview`
|
|
28
28
|
: Upgrade project to the latest SPFx preview version
|
|
29
|
-
|
|
30
|
-
`--outputFile [outputFile]`
|
|
31
|
-
: Path to the file where the upgrade report should be stored in. Ignored when `output` is `tour`
|
|
32
29
|
```
|
|
33
30
|
|
|
34
31
|
<Global />
|
|
35
32
|
|
|
36
33
|
## Remarks
|
|
37
34
|
|
|
38
|
-
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.
|
|
35
|
+
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.21.1).
|
|
39
36
|
|
|
40
37
|
This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
|
|
41
38
|
|
|
@@ -20,6 +20,9 @@ m365 util accesstoken get [options]
|
|
|
20
20
|
|
|
21
21
|
`--new`
|
|
22
22
|
: Retrieve a new access token to ensure that it's valid for as long as possible
|
|
23
|
+
|
|
24
|
+
`--decoded`
|
|
25
|
+
: Retrieve a decoded access token
|
|
23
26
|
```
|
|
24
27
|
|
|
25
28
|
<Global />
|
|
@@ -60,8 +63,16 @@ Get a new access token for SharePoint Online
|
|
|
60
63
|
m365 util accesstoken get --resource https://contoso.sharepoint.com --new
|
|
61
64
|
```
|
|
62
65
|
|
|
66
|
+
Get a decoded access token for SharePoint Online
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
m365 util accesstoken get --resource https://contoso.sharepoint.com --decoded
|
|
70
|
+
```
|
|
71
|
+
|
|
63
72
|
## Response
|
|
64
73
|
|
|
74
|
+
### Standard response
|
|
75
|
+
|
|
65
76
|
<Tabs>
|
|
66
77
|
<TabItem value="JSON">
|
|
67
78
|
|
|
@@ -93,3 +104,64 @@ m365 util accesstoken get --resource https://contoso.sharepoint.com --new
|
|
|
93
104
|
</TabItem>
|
|
94
105
|
</Tabs>
|
|
95
106
|
|
|
107
|
+
### `decoded` response
|
|
108
|
+
|
|
109
|
+
<Tabs>
|
|
110
|
+
<TabItem value="JSON">
|
|
111
|
+
|
|
112
|
+
```json
|
|
113
|
+
{
|
|
114
|
+
"alg": "HS256",
|
|
115
|
+
"typ": "JWT"
|
|
116
|
+
}.{
|
|
117
|
+
"sub": "1234567890",
|
|
118
|
+
"name": "John Doe",
|
|
119
|
+
"iat": 1516239022
|
|
120
|
+
}.[signature]
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
</TabItem>
|
|
124
|
+
<TabItem value="Text">
|
|
125
|
+
|
|
126
|
+
```text
|
|
127
|
+
{
|
|
128
|
+
"alg": "HS256",
|
|
129
|
+
"typ": "JWT"
|
|
130
|
+
}.{
|
|
131
|
+
"sub": "1234567890",
|
|
132
|
+
"name": "John Doe",
|
|
133
|
+
"iat": 1516239022
|
|
134
|
+
}.[signature]
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
</TabItem>
|
|
138
|
+
<TabItem value="CSV">
|
|
139
|
+
|
|
140
|
+
```csv
|
|
141
|
+
{
|
|
142
|
+
"alg": "HS256",
|
|
143
|
+
"typ": "JWT"
|
|
144
|
+
}.{
|
|
145
|
+
"sub": "1234567890",
|
|
146
|
+
"name": "John Doe",
|
|
147
|
+
"iat": 1516239022
|
|
148
|
+
}.[signature]
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
</TabItem>
|
|
152
|
+
<TabItem value="Markdown">
|
|
153
|
+
|
|
154
|
+
```md
|
|
155
|
+
{
|
|
156
|
+
"alg": "HS256",
|
|
157
|
+
"typ": "JWT"
|
|
158
|
+
}.{
|
|
159
|
+
"sub": "1234567890",
|
|
160
|
+
"name": "John Doe",
|
|
161
|
+
"iat": 1516239022
|
|
162
|
+
}.[signature]
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
</TabItem>
|
|
166
|
+
</Tabs>
|
|
167
|
+
|