Home > Forum > General > MS Graph permission - autoresponder

MS Graph permission - autoresponder
0

I have a problem probably with permiossion for autoresponder. I used a action autoresponder with MS Graph.

Wystąpił błąd wykonania akcji autoresponder na ścieżce. (Krok: Start, ścieżka: Autoodpowiedź)
One or more errors occurred. (Code: InvalidScheduledOofDuration
Message: The scheduled duration for sending automatic replies isn't valid.
ClientRequestId: 9e12806a-64bf-4882-87f4-c831a7710e57
)
Code: InvalidScheduledOofDuration
Message: The scheduled duration for sending automatic replies isn't valid.
ClientRequestId: 9e12806a-64bf-4882-87f4-c831a7710e57

which permision I need to have?

MVP
In reply to: Adam Zimoląg

When date according to browser settings i have the same error

I'm assuming that webcon uses latest version of Graph API - can't find any recent documentation on Webcon side.

Looking at the graph docs* it should be formatted as dateTimeTimeZone **.
So a JSON like that:
{
"dateTime": "string",
"timeZone": "string"
}
For example:
{
"dateTime": "2017-08-29T04:00:00.0000000",
"timeZone": "Europe/Warsaw"
}

Try setting those values according to this schema.
To check if permissions are working fine, you might want to go to data sources -> Exchange Server -> Exchange actions default connection, and use 'Test automatic replies' button.

* https://learn.microsoft.com/en-us/graph/api/resources/automaticrepliessetting?view=graph-rest-1.0
** https://learn.microsoft.com/en-us/graph/api/resources/datetimetimezone?view=graph-rest-1.0