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
New command: Unused Mailboxes #5984
Comments
Thanks for the suggestion @murati! A couple of ideas:
@pnp/cli-for-microsoft-365-maintainers any other feedback before we open it up? |
I'm curious if there's an API for this. If there isn't, this should probably be converted to a sample script in my opinion. |
Per my research, it requires EXO V3. That was actually my question. Graph does not directly support EXO but when I read the source code, I saw some endpoints apart from graph usage. Therefore, I thought, you could reach EXO beyond my knowledge. We are building a smart admin panel for M365 and the EXO requiring modules are the slowest ones. Please let me know, if I can contribute somehow and further. |
Can you provide some documentation about the API you want to leverage? |
This is how I execute this command: Get-EXOMailbox -InactiveMailboxOnly And here is the link : https://learn.microsoft.com/en-us/powershell/module/exchange/get-exomailbox?view=exchange-ps I wasn't able to find further API documentation about it. |
Let's see if we can get it to work. |
Usage
m365 outlook mail unused
Description
It retrieves the list of mailboxes which have no activity starting the given period
Options
Examples
Retrieve the list of inactive mailboxes in last 30 days
Retrieve the list of active mailboxes starting the given date
Default properties
Additional Info
No response
The text was updated successfully, but these errors were encountered: