diff --git a/docs/docs/v7-upgrade-guidance.mdx b/docs/docs/v7-upgrade-guidance.mdx index 7bd3dc96c9f..11c9271d653 100644 --- a/docs/docs/v7-upgrade-guidance.mdx +++ b/docs/docs/v7-upgrade-guidance.mdx @@ -10,14 +10,18 @@ In version 7 of the CLI for Microsoft 365, we have removed the option `schemaXml Remove the references to the option `schemaXml` from your scripts. Verify that your scripts work as intended. -## 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. - ## Enhanced `spo theme list` In version 7 of the CLI For Microsoft 365, we have made an enhancement for the data returned by the `spo theme list` command. Currently, when no items were found, we would only log an output when `--verbose` was specified. This made this command very unpredictable to use in scripts. This has now been changed so an empty array will be logged when no items were found. +### What action do I need to take? + +Make sure that your script expects an empty array instead of nothing when calling the command. + +## 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. + We've updated the following commands and options: Command|Old option|New option