From 155056ed40a0da33874d30ff931f51ae76a6195f Mon Sep 17 00:00:00 2001 From: Mathijs Verbeeck Date: Thu, 27 Jul 2023 14:05:23 +0200 Subject: [PATCH] Upgrade guidance --- docs/docs/v7-upgrade-guidance.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/docs/v7-upgrade-guidance.mdx b/docs/docs/v7-upgrade-guidance.mdx index fd0a72ec2cd..4d218f3924d 100644 --- a/docs/docs/v7-upgrade-guidance.mdx +++ b/docs/docs/v7-upgrade-guidance.mdx @@ -26,6 +26,14 @@ In version 6 of the CLI for Microsoft 365, for setting the list commandset, you Since the option `id` was mandatory in V6 and if your scripts are dependent on the default mandatory error output which the command would return, you may have to update your scripts accordingly. +## Enhanced `aad o365group get` to only return O365 groups + +In version 7 of the CLI for Microsoft 365, we have made an update for the command `aad o365group get`. Currently, when executing this command, all group types would be returned, which could lead to misleading results. An extra check has been implemented to ensure that the returned group is effectively an O365 group. + +### What action do I need to take? + +Make sure that, if you wish to use a command to retrieve multiple group types that we use `aad group get` or rewrite the script so that the script will handle the error when a non-M365 group has been found. + ## Aligned options with naming convention In version 7 of the CLI for Microsoft 365, we have made updates to the options for certain commands, aligning with our naming convention. This includes renaming options to ensure consistency and improve the CLI experience. For example, the option `--environment` for the command `m365 pa app consent set` has been changed to `--environmentName`. These changes aim to make it easier for you to use the CLI.