Skip to content

Commit

Permalink
Merge branch 'pnp:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaestrini authored Nov 2, 2023
2 parents ce9fce9 + d9292ff commit 683d169
Show file tree
Hide file tree
Showing 274 changed files with 11,116 additions and 109 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const dictionary = [
'activation',
'activations',
'adaptive',
'administrative',
'ai',
'app',
'application',
Expand Down Expand Up @@ -90,6 +91,7 @@ const dictionary = [
'threat',
'token',
'type',
'unit',
'user',
'web',
'webhook'
Expand Down
34 changes: 33 additions & 1 deletion docs/docs/about/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,33 @@ sidebar_position: 4

# Release notes

## v7.1.0 (beta)
## v7.2.0 (beta)

### New commands

**Azure Active Directory**

- [aad administrativeunit add](../cmd/aad/administrativeunit/administrativeunit-add.mdx) - creates an administrative unit in Azure AD [#5572](https://github.com/pnp/cli-microsoft365/issues/5572)
- [aad administrativeunit get](../cmd/aad/administrativeunit/administrativeunit-get.mdx) - retrieves details for an administrative unit in Azure AD [#5582](https://github.com/pnp/cli-microsoft365/issues/5582)
- [aad administrativeunit list](../cmd/aad/administrativeunit/administrativeunit-list.mdx) - retrieves a list of administrative units in Azure AD [#5569](https://github.com/pnp/cli-microsoft365/issues/5569)
- [aad administrativeunit remove](../cmd/aad/administrativeunit/administrativeunit-remove.mdx) - removes an administrative unit from Azure AD [#5595](https://github.com/pnp/cli-microsoft365/issues/5595)

### Changes

- fixes command sorting [#5606](https://github.com/pnp/cli-microsoft365/issues/5606)
- implements disambiguation prompts in missing places [#5490](https://github.com/pnp/cli-microsoft365/issues/5490)
- adds a disambiguation prompt to getGroupIdByDisplayName [#5592](https://github.com/pnp/cli-microsoft365/issues/5592)
- extended 'spfx project upgrade' with support for v1.18.1.-rc.0 [#5593](https://github.com/pnp/cli-microsoft365/issues/5593)
- extended 'spfx doctor' with support for v1.18.1.-rc.0 [#5593](https://github.com/pnp/cli-microsoft365/issues/5593)
- extended 'spfx project doctor' with support for v1.18.1.-rc.0 [#5593](https://github.com/pnp/cli-microsoft365/issues/5593)

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

### New commands

**Azure Active Directory**

- [aad group user list](../cmd/aad/group/group-user-list.mdx) - lists users of a specific Azure AD group [#5469](https://github.com/pnp/cli-microsoft365/issues/5469)

### Changes

Expand All @@ -24,6 +50,12 @@ sidebar_position: 4
- removed M365 group and connected site. [#5224](https://github.com/pnp/cli-microsoft365/issues/5224)
- moved prompt output to stderr. [#5489](https://github.com/pnp/cli-microsoft365/issues/5489)
- updated package keywords. [#5433](https://github.com/pnp/cli-microsoft365/issues/5433)
- enhanced 'cli doctor' to list scopes by resource. [#5487](https://github.com/pnp/cli-microsoft365/issues/5487)
- updated documentation with correct cmder url
- updated documentation for 'spo field get'
- fixed bug with authType browser. [#5578](https://github.com/pnp/cli-microsoft365/issues/5487)
- updated the spinner for setup prompts. [#5598](https://github.com/pnp/cli-microsoft365/issues/5598)
- updated contributing script sample docs

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

Expand Down
6 changes: 6 additions & 0 deletions docs/docs/about/team.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,12 @@ Do you want to know the curious and bright minds behind the CLI for Microsoft 36
github: 'martinlingstuyl',
x: 'martinlingstuyl'
},
{
name: 'Martin Macháček',
company: 'Edhouse',
github: 'MartinM85',
x: '@machym_'
},
{
name: 'Mathijs Verbeeck',
company: 'Xylos',
Expand Down
119 changes: 119 additions & 0 deletions docs/docs/cmd/aad/administrativeunit/administrativeunit-add.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
import Global from '/docs/cmd/_global.mdx';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# aad administrativeunit add

Creates a new administrative unit

## Usage

```sh
m365 aad administrativeunit add [options]
```

## Options

```md definition-list
`-n, --displayname <displayName>`
: Display name for the administrative unit.

`-d, --description [description]`
: Description for the administrative unit.

`--hiddenMembership`
: Indicates whether the administrative unit and its members are hidden.
```

<Global />

## Remarks

:::info

To use this command you must be either **Global Administrator** or **Privileged Role Administrator**.

:::

## Examples

Create an administrative unit with a specific display name

```sh
m365 aad administrativeunit add --displayName 'Marketing Division'
```

Create an administrative unit with a specific display name and description

```sh
m365 aad administrativeunit add --displayName 'Marketing Division' --description 'Marketing department administration'
```

Create a hidden administrative unit with a specific display name

```sh
m365 aad administrativeunit add --displayName 'Marketing Division' --hiddenMembership
```

## Response

<Tabs>
<TabItem value="JSON">

```json
{
"id": "00b45a1b-7632-4e94-a3bd-f06aec976d31",
"deletedDateTime": null,
"displayName": "Marketing Division",
"description": "Marketing department administration",
"membershipRule": null,
"membershipType": null,
"membershipRuleProcessingState": null,
"visibility": null
}
```

</TabItem>
<TabItem value="Text">

```text
deletedDateTime : null
description : Marketing department administration
displayName : Marketing Division
id : 00b45a1b-7632-4e94-a3bd-f06aec976d31
membershipRule : null
membershipRuleProcessingState: null
membershipType : null
visibility : null
```

</TabItem>
<TabItem value="CSV">

```csv
id,displayName,description,visibility
00b45a1b-7632-4e94-a3bd-f06aec976d31,Marketing Division,Marketing department administration,HiddenMembership
```

</TabItem>
<TabItem value="Markdown">

```md
Date: 10/23/2023

## Marketing Division (00b45a1b-7632-4e94-a3bd-f06aec976d31)

Property | Value
---------|-------
id | 00b45a1b-7632-4e94-a3bd-f06aec976d31
displayName | Marketing Division
description | Marketing department administration
visibility | HiddenMembership
```

</TabItem>
</Tabs>

## More information

- Administrative units: https://learn.microsoft.com/entra/identity/role-based-access-control/administrative-units
102 changes: 102 additions & 0 deletions docs/docs/cmd/aad/administrativeunit/administrativeunit-get.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
import Global from '/docs/cmd/_global.mdx';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# aad administrativeunit get

Gets information about a specific administrative unit

## Usage

```sh
m365 aad administrativeunit get [options]
```

## Options

```md definition-list
`-i, --id [id]`
: The id of the administrative unit. Specify either `id` or `displayName` but not both.

`-n, --displayName [displayName]`
: The display name of the administrative unit. Specify either `id` or `displayName` but not both.
```

<Global />

## Examples

Get information about the administrative unit by its id

```sh
m365 aad administrativeunit get --id 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7
```

Get information about the administrative unit by its display name

```sh
m365 aad administrativeunit get --displayName 'Marketing Division'
```

## Response

<Tabs>
<TabItem value="JSON">

```json
{
"id": "0a22c83d-c4ac-43e2-bb5e-87af3015d49f",
"deletedDateTime": null,
"displayName": "Marketing Division",
"description": "Marketing Department Administration",
"membershipRule": null,
"membershipType": null,
"membershipRuleProcessingState": null,
"visibility": "HiddenMembership"
}
```

</TabItem>
<TabItem value="Text">

```text
deletedDateTime : null
description : Marketing Department Administration
displayName : Marketing Division
id : 0a22c83d-c4ac-43e2-bb5e-87af3015d49f
membershipRule : null
membershipRuleProcessingState: null
membershipType : null
visibility : HiddenMembership
```

</TabItem>
<TabItem value="CSV">

```csv
id,displayName,description,visibility
0a22c83d-c4ac-43e2-bb5e-87af3015d49f,Marketing Division,Marketing Department Administration,HiddenMembership
```

</TabItem>
<TabItem value="Markdown">

```md
Date: 10/23/2023

## Marketing Division (0a22c83d-c4ac-43e2-bb5e-87af3015d49f)

Property | Value
---------|-------
id | 0a22c83d-c4ac-43e2-bb5e-87af3015d49f
displayName | Marketing Division
description | Marketing Department Administration
visibility | HiddenMembership
```

</TabItem>
</Tabs>

## More information

- Administrative units: https://learn.microsoft.com/entra/identity/role-based-access-control/administrative-units
87 changes: 87 additions & 0 deletions docs/docs/cmd/aad/administrativeunit/administrativeunit-list.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
import Global from '/docs/cmd/_global.mdx';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# aad administrativeunit list

Retrieves a list of administrative units

## Usage

```sh
m365 aad administrativeunit list [options]
```

## Options

<Global />

## Examples

Retrieve a list of administrative units

```sh
m365 aad administrativeunit list
```

## Response

<Tabs>
<TabItem value="JSON">

```json
[
{
"id": "0a22c83d-c4ac-43e2-bb5e-87af3015d49f",
"deletedDateTime": null,
"displayName": "Marketing Department",
"description": "Marketing Department Administration",
"membershipRule": null,
"membershipType": null,
"membershipRuleProcessingState": null,
"visibility": "HiddenMembership"
}
]
```

</TabItem>
<TabItem value="Text">

```text
displayName: 0a22c83d-c4ac-43e2-bb5e-87af3015d49f
id : Marketing Department
visibility : HiddenMembership
```

</TabItem>
<TabItem value="CSV">

```csv
id,displayName,description,visibility
0a22c83d-c4ac-43e2-bb5e-87af3015d49f,Marketing Department,Marketing Department Administration,HiddenMembership
```

</TabItem>
<TabItem value="Markdown">

```md
# aad administrativeunit list

Date: 2023-10-16

## Marketing Department (0a22c83d-c4ac-43e2-bb5e-87af3015d49f)

Property | Value
---------|-------
id | 0a22c83d-c4ac-43e2-bb5e-87af3015d49f
displayName | Marketing Department
description | Marketing Department Administration
visibility | HiddenMembership
```

</TabItem>
</Tabs>

## More information

- Administrative units: https://learn.microsoft.com/entra/identity/role-based-access-control/administrative-units
Loading

0 comments on commit 683d169

Please sign in to comment.