Hi All,
Am trying create a flow, which gets triggered once we fill a form, returns result which has UPN address, needs advise or assistance trying understand if we can apply a retention policy of that UPN address's mailbox, which if I'll be able to then at the end of the flow will be able to ensure that I could remove the user from the same retention policy.
So, far we have been doing this task automatically, by updating that user's email address as shown below by updating it in excel sheet and then running the below mentioned commands manually.
$list_16 = get-content "C:\temp\DR_Exceptions_Projects_OD_A to C.csv"
Set-RetentionCompliancePolicy -Identity "policyname" -AddExchangeLocation $list_16
Set-RetentionCompliancePolicy -Identity "policyname" -RemoveExchangeLocation $list_16
But now, while that we are creating a flow to automate that process, would want to see above task, if at all can be added to a flow and ensure it happens automatically.
Thanking everyone in advance,
Regards,
Vivek

Report
All responses (
Answers (