Skip to content

Commit

Permalink
Changes to upgrade guidance
Browse files Browse the repository at this point in the history
  • Loading branch information
MathijsVerbeeck committed Jul 27, 2023
1 parent 71dd607 commit fc2864d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/docs/v7-upgrade-guidance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc2864d

Please sign in to comment.