From 7be779498896197716e3843e1da2c03cac598c47 Mon Sep 17 00:00:00 2001 From: Martin Lingstuyl Date: Sun, 6 Oct 2024 16:08:31 +0200 Subject: [PATCH] Updates release notes and upgrade guidance --- docs/docs/about/release-notes.mdx | 1 + docs/docs/v10-upgrade-guidance.mdx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/docs/about/release-notes.mdx b/docs/docs/about/release-notes.mdx index 43b5d2efcf..b03f873721 100644 --- a/docs/docs/about/release-notes.mdx +++ b/docs/docs/about/release-notes.mdx @@ -40,6 +40,7 @@ sidebar_position: 3 - updated [cli doctor](../cmd/cli/cli-doctor.mdx) command output [#5923](https://github.com/pnp/cli-microsoft365/issues/5923) - removed duplicate properties from [teams tab list](../cmd/teams/tab/tab-list.mdx) command [#5900](https://github.com/pnp/cli-microsoft365/issues/5900) - renamed `entra group user ` to `entra group member `. [#6396](https://github.com/pnp/cli-microsoft365/issues/6396) +- Updates setting users in `entra m365group set` [#6061](https://github.com/pnp/cli-microsoft365/issues/6061) ## [v9.1.0](https://github.com/pnp/cli-microsoft365/releases/tag/v9.1.0) diff --git a/docs/docs/v10-upgrade-guidance.mdx b/docs/docs/v10-upgrade-guidance.mdx index 5a9e83c9b4..59f2289812 100644 --- a/docs/docs/v10-upgrade-guidance.mdx +++ b/docs/docs/v10-upgrade-guidance.mdx @@ -124,11 +124,11 @@ In your scripts, replace every occurrence of the deprecated option `userName` wi ### Enhanced `entra m365group set` command -We've enhanced the [entra m365group set](./cmd/entra/m365group/m365group-set.mdx) command so that a group that we wish to update can also be retrieved by it's displayName. Before, this was only able by the group ID. We have replaced the original `displayName` option by `newDisplayName`. +We've enhanced the [entra m365group set](./cmd/entra/m365group/m365group-set.mdx) command so that a group that we wish to update can also be retrieved by it's displayName. Before, this was only able by the group ID. We have replaced the original `displayName` option by `newDisplayName`. Secondly we've updated the way the command handles updating users. Ownes/members that are not specified, will now be removed from the group. To add users without removing old users, the command [entra m365group user add](./cmd/entra/m365group/m365group-user-add) should be used. We've also added extra options to specify owners and members by UserName or Id. #### What action do I need to take? -Make sure that if you are currently updating groups using the `displayName` option, you update your scripts to use the `newDisplayName` option instead. +Make sure that if you are currently updating groups using the `displayName` option, you update your scripts to use the `newDisplayName` option instead. Also make sure that your script uses the new option names for updating Owners and Members, and that it does include all users that should be a member or owner of the group. ### Renamed `entra group user` commands to `entra group member`