cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

out-of-office different user

hi to all,

I‘m trying to use Microsoft Flow to set up an out-of-office message to people who quit the company based on a SharePoint list.

 

The connection to the list, the conditional check of the day, the update of block user (Azure AD) … everything is working fine, but I have a problem using the “Set up automatic replies (V2)” object, because It insert the OOF message only to the user who is managing the task.

Do you know if it is possible insert the OOF to a specific mailbox using the admin account?

 

Regards

Luca

2 ACCEPTED SOLUTIONS

Accepted Solutions
Dual Super User II
Dual Super User II

Hi @Anonymous 

 

There is no direct action in Flow to set OOF for specififc mailboxes

 

Your best bet would be to use MS Graph API

https://docs.microsoft.com/en-us/graph/api/user-update-mailboxsettings?view=graph-rest-1.0&tabs=http

 

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Hi @Anonymous ,

 

So you could only sign in your account for the mailbox, and you couldn't sign in others account, it is the same reason as you couldn't send an email from other's email account.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Dual Super User II
Dual Super User II

Hi @Anonymous 

 

There is no direct action in Flow to set OOF for specififc mailboxes

 

Your best bet would be to use MS Graph API

https://docs.microsoft.com/en-us/graph/api/user-update-mailboxsettings?view=graph-rest-1.0&tabs=http

 

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Community Support
Community Support

Hi @Anonymous ,

 

The “Set up automatic replies (V2)” action would set up the reply to the Connection account for the action as screenshot below:

Annotation 2019-07-30 103151.png

 

You could create a conection to the specific mailbox account in the flow to set the reply for the specific mailbox, and it is impossible to set the reply for the specific mailbox with the admin account.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi,

sorry for the delay.

@v-alzhan-msft 

You told me to use the specific user for the mailbox, but I need to know his password, right?

Or can I execute the flow with an email account on the sharepoint list? 

 

Regards

Luca

Hi @Anonymous ,

 

So you could only sign in your account for the mailbox, and you couldn't sign in others account, it is the same reason as you couldn't send an email from other's email account.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (3,411)