Inside flow designer, how to set parameters in Exchange spoke action: Create Mailbox?

Elena Pomana
Tera Guru

Hello,

 

Got a task to fetch extra information from Exchange inside flow designer besides what it already fetches via Create Mailbox action.

In my case, I would like to get the Retention Policy that is a applied to an user in Exchange.

I read the documentation regarding the Create Mailbox action and saw that you can send a parameters and it should get the value of that parameter, but tried it different approaches and every time I get the error: "Provided Parameter name is invalid."

 

Any idea how to pass the JSON inside the parameters to retrieve info from Exchange?

ElenaPomana_0-1691739710243.png

 

Thank you,

Elena

 

4 REPLIES 4

Mohith Devatte
Tera Sage
Tera Sage

Hello @Elena Pomana ,

Did you try passing it via script in the parameters field with below format ?

return {"paramter_1_name" : "parameter_1_value" ,"paramter_2_name" : "parameter_2_value"};

Click on the symbol which is on the left to the picker in the parameters field to write the scirpt

Hope this helps 

mark my answer correct if this helps you 

Thanks

Hello!

 

I'll try via script as well based on what you've provided but shouldn't it work in this format?
{"RetentionPolicy": ""}

I don't know what to pass in the "parameter_1_value" 

 

Thanks!

I need to fetch the value of that parameter from Exchange...that's why I'm asking.

Tried several methods and still nothing.

Hi Elena,

Did you get answer to apply Retention policy in mailbox.? We are also facing the same issue.