Skip to content

Commit d10e071

Browse files
authored
Merge branch 'pnp:main' into sporemoveoptions
2 parents 2529f2d + 0ae7da4 commit d10e071

File tree

197 files changed

+14261
-821
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

197 files changed

+14261
-821
lines changed

.devcontainer/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/powershell:alpine-3.17
1+
FROM waldekm/powershell:alpine-3.18
22

33
LABEL name="CLI for Microsoft 365 Development" \
44
description="Development container for contributing to CLI for Microsoft 365" \
@@ -22,7 +22,7 @@ RUN apk add --no-cache \
2222
shadow \
2323
zsh \
2424
jq \
25-
nodejs \
25+
nodejs-current \
2626
npm
2727

2828
RUN useradd \

Dockerfile

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/powershell:alpine-3.17
1+
FROM waldekm/powershell:alpine-3.18
22

33
ARG CLI_VERSION=latest
44

@@ -21,7 +21,7 @@ RUN apk add --no-cache \
2121
bash \
2222
shadow \
2323
bash-completion \
24-
nodejs \
24+
nodejs-current \
2525
npm \
2626
python3 \
2727
py3-pip
@@ -48,7 +48,4 @@ RUN bash -c 'echo "export PATH=$PATH:/home/cli-microsoft365/.npm-global/bin:/hom
4848
&& pwsh -c 'm365 cli completion pwsh setup --profile $profile' \
4949
&& pwsh -c 'Add-Content -Path $PROFILE -Value "`r`Set-Alias -Name m365? -Value m365_chili"'
5050

51-
RUN pip install setuptools==58
52-
RUN pip install jmespath-terminal
53-
5451
CMD [ "bash", "-l" ]

docs/docs/about/release-notes.mdx

+27-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,32 @@ sidebar_position: 4
44

55
# Release notes
66

7-
## v7.4.0 (beta)
7+
## v7.5.0 (beta)
8+
9+
### New commands
10+
11+
**Entra ID**
12+
13+
- [entra group user add](../cmd/entra/group/group-user-add.mdx) - adds a user to a Microsoft Entra ID group [#5471](https://github.com/pnp/cli-microsoft365/issues/5471)
14+
- [entra group add](../cmd/entra/group/group-add.mdx) - creates a Microsoft Entra group [#5476](https://github.com/pnp/cli-microsoft365/issues/5476)
15+
- [entra app permission list](../cmd/entra/app/app-permission-list.mdx) - lists the application and delegated permissions for a specified Entra Application Registration [#5668](https://github.com/pnp/cli-microsoft365/issues/5668)
16+
17+
**File:**
18+
19+
- [file copy](../cmd/file/file-copy.mdx) - copies a file to another location using the Microsoft Graph [#4623](https://github.com/pnp/cli-microsoft365/issues/4623)
20+
21+
### Changes
22+
23+
- fixed [entra app permission add](../cmd/entra/app/app-permission-add.mdx) throwing an error [#5802](https://github.com/pnp/cli-microsoft365/issues/5802)
24+
- fixed [spfx project github workflow add](../cmd/spfx/project/project-github-workflow-add.mdx) workflow naming [#5805](https://github.com/pnp/cli-microsoft365/issues/5805)
25+
- added [user guide](../user-guide/using-cli-vs-code-extension.mdx) for CLI for Microsoft 365 Visual Studio Code extension [#5796](https://github.com/pnp/cli-microsoft365/issues/5796)
26+
- fixed incorrect short option in docs for [spo listitem list](../cmd/spo/listitem/listitem-list.mdx) command [#5822](https://github.com/pnp/cli-microsoft365/pull/5822)
27+
- renamed internal CLI utilities from `aad` to `entra` [#5757](https://github.com/pnp/cli-microsoft365/issues/5757)
28+
- added request header Prefer: include-unknown-enum-members when reading connection schema [#5826](https://github.com/pnp/cli-microsoft365/issues/5826)
29+
- updated Docker images to use Node@20 [#5809](https://github.com/pnp/cli-microsoft365/pull/5809)
30+
- updated 'm365 entra user get' command to use correct query to Graph API [#5788](https://github.com/pnp/cli-microsoft365/issues/5788)
31+
32+
## [v7.4.0](https://github.com/pnp/cli-microsoft365/releases/tag/v7.4.0)
833

934
### New commands
1035

@@ -31,6 +56,7 @@ sidebar_position: 4
3156
- extended 'teams user app add' command with support for specifying name of the app [#5703](https://github.com/pnp/cli-microsoft365/issues/5703)
3257
- extended 'm365 flow run get' with the ability to retrieve the action information [#1828](https://github.com/pnp/cli-microsoft365/issues/1828)
3358
- updated 'spo group member add', 'spo group member remove', and 'spo user ensure' commands options [#5745](https://github.com/pnp/cli-microsoft365/issues/5745)
59+
- fixed spo folder commands don't support folders with numerical names ending [#5789](https://github.com/pnp/cli-microsoft365/issues/5789)
3460

3561
## [v7.3.0](https://github.com/pnp/cli-microsoft365/releases/tag/v7.3.0)
3662

docs/docs/cmd/entra/app/app-permission-add.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ m365 entra app permission add --appObjectId 'e0306bb2-bf0b-4cc5-a845-a0b2cf11f69
6060
Grant multiple app-only permissions to an Entra (Azure AD) app specified by client id and grant admin consent
6161

6262
```sh
63-
m365 entra app permission add --appId 'f1417aa3-bf0b-4cc5-a845-a0b2cf11f690' --applicationPermissions 'https://graph.microsoft.com/Sites.FullControl.All https://microsoft.sharepoint-df.com/Sites.FullControl.All' --grandAdminConsent
63+
m365 entra app permission add --appId 'f1417aa3-bf0b-4cc5-a845-a0b2cf11f690' --applicationPermissions 'https://graph.microsoft.com/Sites.FullControl.All https://microsoft.sharepoint-df.com/Sites.FullControl.All' --grantAdminConsent
6464
```
6565

6666
## Response
6767

68-
The command won't return a response on success.
68+
The command won't return a response on success.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
import Global from '/docs/cmd/_global.mdx';
2+
import Tabs from '@theme/Tabs';
3+
import TabItem from '@theme/TabItem';
4+
5+
# entra app permission list
6+
7+
Lists the application and delegated permissions for a specified Entra Application Registration
8+
9+
## Usage
10+
11+
```sh
12+
m365 entra app permission list [options]
13+
```
14+
15+
## Alias
16+
17+
```sh
18+
m365 aad app permission list [options]
19+
```
20+
21+
## Options
22+
23+
```md definition-list
24+
`-i, --appId [appId]`
25+
: Client ID of the Application Registration to retrieve the permissions for. Specify `appId` or `appObjectId` but not both.
26+
27+
`--appObjectId [appObjectId]`
28+
: Object ID of the Application Registration to retrieve the permissions for. Specify `appId` or `appObjectId` but not both.
29+
30+
`--type [type]`
31+
: The type of permissions to retrieve. Allowed values: `delegated`, `application`, `all`. Defaults to `all`.
32+
```
33+
34+
<Global />
35+
36+
## Remarks
37+
38+
For best performance use the `objectId` option to reference the Entra application registration to get. If you use `appId`, this command will first need to find the corresponding object ID for that application.
39+
40+
## Examples
41+
42+
Retrieves all permissions for an Entra app registration
43+
44+
```sh
45+
m365 entra app permission list --appId 'f1417aa3-bf0b-4cc5-a845-a0b2cf11f690'
46+
```
47+
48+
Retrieves all delegated permissions for an Entra app registration
49+
50+
```sh
51+
m365 entra app permission list --appId 'f1417aa3-bf0b-4cc5-a845-a0b2cf11f690' --type delegated
52+
```
53+
54+
## Response
55+
56+
<Tabs>
57+
<TabItem value="JSON">
58+
59+
```json
60+
[
61+
{
62+
"resource": "Microsoft Graph",
63+
"resourceId": "00000003-0000-0000-c000-000000000000",
64+
"permission": "User.Read",
65+
"type": "Delegated"
66+
}
67+
]
68+
```
69+
70+
</TabItem>
71+
<TabItem value="Text">
72+
73+
```text
74+
resource resourceId permission type
75+
---------------------------- ------------------------------------ --------------------------------- -----------
76+
Microsoft Graph 00000003-0000-0000-c000-000000000000 User.Read Delegated
77+
```
78+
79+
</TabItem>
80+
<TabItem value="CSV">
81+
82+
```csv
83+
resource,resourceId,permission,type
84+
Microsoft Graph,00000003-0000-0000-c000-000000000000,User.Read,Delegated
85+
```
86+
87+
</TabItem>
88+
<TabItem value="Markdown">
89+
90+
```md
91+
# entra app permission list --appId "2bf26ae1-9be3-425f-a393-5fe8390e3a36"
92+
93+
Date: 27/12/2023
94+
95+
Property | Value
96+
---------|-------
97+
resource | Microsoft Graph
98+
resourceId | 00000003-0000-0000-c000-000000000000
99+
permission | User.Read
100+
type | Delegated
101+
```
102+
103+
</TabItem>
104+
</Tabs>
105+

0 commit comments

Comments
 (0)