Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds CLI for Microsoft 365 10.4.0 release announcement #2046

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tags:
- SharePoint
- SharePoint Embedded
- SharePoint Premium
type: popular
type: regular
---

🎺 Shout it from the rooftops! We've just published the first minor version in 2025 of the CLI for Microsoft 365. [CLI for Microsoft 365](https://aka.ms/cli-m365) is a cross-platform command-line tool that allows you to manage your Microsoft 365 tenant and SharePoint Framework projects. This minor release introduces 14 (!!) new commands that will enhance the quality of your Microsoft 365 experience.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
133 changes: 133 additions & 0 deletions content/cli-for-microsoft-365/cli-for-microsoft-365-v10-4/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
---
title: CLI for Microsoft 365 v10.4
date: 2025-02-28T01:00:00.000Z
author: Martin Lingstuyl
githubname: martinlingstuyl
categories:
- CLI for Microsoft 365
images:
- images/banner-cli-m365.png
tags:
- CLI for Microsoft 365
- Entra ID
- SharePoint
- SharePoint Embedded
- SharePoint Premium
type: popular
---

🎺 It's that time of the month again! We've just published a new minor version of the CLI for Microsoft 365. [CLI for Microsoft 365](https://aka.ms/cli-m365) is a cross-platform command-line tool that allows you to manage your Microsoft 365 tenant and SharePoint Framework projects. This minor release introduces new commands that will enhance the quality of your Microsoft 365 experience.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m not really a fan of starting a blog with an emoji.


> Explore the [release notes](https://aka.ms/cli-m365/notes) for a neat overview of all the exciting features and improvements.
## What's New

### Microsoft Entra ID

In this release, we added two new commands for working with Microsoft Entra ID. You can now revoke sign-in sessions for a given user. Something that may be necessary in when certain security events take place where resetting a users password may not be enough.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In this release, we added two new commands for working with Microsoft Entra ID. You can now revoke sign-in sessions for a given user. Something that may be necessary in when certain security events take place where resetting a users password may not be enough.
In this release, we added two new commands for working with Microsoft Entra ID. You can now revoke sign-in sessions for a given user. Something that may be necessary when certain security events take place where resetting a user's password may not be enough.

We've also added an additional command for working with custom role definitions. When creating custom role definitions you'll need to know what resources actions are available. These resource actions, also called role permissions, are categorised in namespaces. We've added a command to be able to list these namespaces, making it easier to find the correct resource actions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
We've also added an additional command for working with custom role definitions. When creating custom role definitions you'll need to know what resources actions are available. These resource actions, also called role permissions, are categorised in namespaces. We've added a command to be able to list these namespaces, making it easier to find the correct resource actions.
We've also added an additional command for working with custom role definitions. When creating custom role definitions you'll need to know what resources actions are available. These resource actions, also called role permissions, are categorized in namespaces. We've added a command to list these namespaces, making it easier to find the correct resource actions.


To get a list of resource namespaces, run:

```sh
m365 entra resourcenamespace list
```

To revoke sign-in sessions for a given user, run:

```sh
m365 entra user session revoke --userName [email protected]
```

For more information, check the following resources:

- [m365 entra resourcenamespace list](https://pnp.github.io/cli-microsoft365/cmd/entra/resourcenamespace/resourcenamespace-list/)
- [m365 entra user session revoke](https://pnp.github.io/cli-microsoft365/cmd/entra/user/user-session-revoke/)

### Outlook

In the previous release we've added a command to be update Outlook mailbox settings. In this release we're adding the command to retrieve these settings for a mailbox.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In the previous release we've added a command to be update Outlook mailbox settings. In this release we're adding the command to retrieve these settings for a mailbox.
In the previous release, we added a command to update Outlook mailbox settings. In this release, we're adding the command to retrieve these settings for a mailbox.


To get mailbox settings of the signed-in user, run:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To get mailbox settings of the signed-in user, run:
To get the mailbox settings of the signed-in user, run:


```sh
m365 outlook mailbox settings get
```

To get mailbox settings of a given user, run:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To get mailbox settings of a given user, run:
To get the mailbox settings of a given user, run:


```sh
m365 outlook mailbox settings get --userName [email protected]
```

For more information, check the following resources:

- [m365 outlook mailbox settings get](https://pnp.github.io/cli-microsoft365/cmd/outlook/mailbox/mailbox-settings-get)

### Tenant report settings

We also added a new command that allows you to retrieve report settings for an organization.

To get the tenant-level settings for Microsoft 365 reports, use:

```sh
m365 tenant report settings get
```

For more information check the following resources:

- [m365 tenant report settings get](https://pnp.github.io/cli-microsoft365/cmd/tenant/report/report-settings-get/)

## What's changed

This release also brings several enhancements and bug fixes to elevate the overall CLI experience. For instance, we've added a sample about getting a report of possibly unused Microsoft 365 groups. We've also aligned some option names and did a lot of other house keeping.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This release also brings several enhancements and bug fixes to elevate the overall CLI experience. For instance, we've added a sample about getting a report of possibly unused Microsoft 365 groups. We've also aligned some option names and did a lot of other house keeping.
This release also brings several enhancements and bug fixes to elevate the overall CLI experience. For instance, we've added a sample about getting a report of possibly unused Microsoft 365 groups. We've also aligned some option names and did a lot of other housekeeping.

Comment on lines +81 to +83
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about we add an extra header to explain a bit more about the new sample script? Since it’s pretty detailed, it might help to give a quick rundown of what it’s for.


## Upcoming Changes

Curious about what lies ahead? We're excited to share some of our ongoing projects and initiatives.

Right now, there are over 70 issues that are actively being developed and a 103 issues that are up for grabs. We're working hard to bring you even more exciting features and improvements in the next release.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Right now, there are over 70 issues that are actively being developed and a 103 issues that are up for grabs. We're working hard to bring you even more exciting features and improvements in the next release.
Right now, there are over 70 issues that are actively being developed and 103 issues that are up for grabs. We're working hard to bring you even more exciting features and improvements in the next release.


## Contributors

We want to extend our heartfelt appreciation to the incredible individuals who have made this release possible. Without their valuable contributions and dedication, CLI for Microsoft 365 wouldn't be where it is today. Let's give a round of applause to the following contributors (in alphabetical order):

- [Adam Wójcik](https://github.com/Adam-it)
- [Jasey Waegebaert](https://github.com/Jwaegebaert)
- [Martin Lingstuyl](https://github.com/martinlingstuyl)
- [Martin Machacek](https://github.com/MartinM85)
- [Michał Kornet](https://github.com/mkm17)
- [Milan Holemans](https://github.com/milanholemans)
- [Saurabh Tripathi](https://github.com/Saurabh7019)
- [Shantha Kumar T](https://github.com/ktskumar)
- [Waldek Mastykarz](https://github.com/waldekmastykarz)

### High fives

We would like to give a big shout-out and high-fives to the amazing individuals who have shared their invaluable feedback and ideas for improving CLI for Microsoft 365. We greatly appreciate your engagement and contribution to the growth of our platform. Let's celebrate the following users (in alphabetical order) for taking the time to share their insights:

- [Christian Walling](https://github.com/cwdata)
- [Francesco Belacca](https://github.com/macel94)
- [Garry Trinder](https://github.com/garrytrinder)

## Get Started Today!

Experience the power of CLI for Microsoft 365 by getting the latest release from npm:

```bash
npm i -g @pnp/cli-microsoft365
```

Alternatively, you can access the latest release from Docker:

```bash
docker run --rm -it m365pnp/cli-microsoft365:latest
```

## Need More Information?

For additional guidance on getting started or to explore detailed information about commands, architecture, or the project itself, visit [aka.ms/cli-m365](https://aka.ms/cli-m365).

## Stay Connected!

We value your feedback and are eager to hear from you. If you have any suggestions for improvement or want to engage with our community, you can reach out to us on [GitHub](https://github.com/pnp/cli-microsoft365/issues), [Discord](https://aka.ms/cli-m365/discord) or [Bluesky](https://bsky.app/profile/climicrosoft365.bsky.social). Don't hesitate to connect with us. Your input plays a vital role in shaping the future of CLI for Microsoft 365.
Loading