-
Notifications
You must be signed in to change notification settings - Fork 330
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: m365 outlook mail searchfolder add
#6276
Comments
Thanks for writing out the specs, @MartinM85. I've got a few remarks before we move forward:
|
m365 outlook mailsearchfolder add
m365 outlook mail searchfolder add
@Jwaegebaert |
Awesome, that works better. One more detail before we open up, regarding |
@Jwaegebaert Spec updated |
Awesome work @MartinM85! I've assigned it to you. |
Usage
m365 outlook mail searchfolder add [options]
Description
Creates a new mail search folder in the user's mailbox
Options
-i, --userId [userId]
userId
oruserName
, but not both.-n, --userName [userName]
userId
oruserName
, but not both.--folderName <folderName>
--sourceFolderIds <sourceFolderIds>
--includeNestedFolders
--messageFilter <messageFilter>
Examples
Create a mail search folder in the user's mailbox specified by id for messages from the inbox that contain specific subject
Create a mail search folder in the user's mailbox specified by UPN for incoming and outgoing messages from a specific year that contain specific text in a message body, search for messages inside all subfolders
Additional Info
The command requires
Mail.ReadWrite
permission.More info: https://learn.microsoft.com/graph/api/mailsearchfolder-post?view=graph-rest-1.0&tabs=http
I will work on it
The text was updated successfully, but these errors were encountered: