I'm trying to setup a Flow that works with Sharepoint online vacation calendar.

I was wondering if any of you guys can hint me in the right direction as MS Flow dev. forums are inconsistently active and sometimes I have to wait quite a while to get an answer.

So my deal is this - I have a flow setup, and by the logic in it. it should work fine, but there is a step called "Get manager" and it fails to get the sid from Azure AD manager field (this field is not empty in my Azure AD).

My flow looks like this: enter image description here

I tried this command in Powershell with the latest Azure module installed:

Get-AzureRmADUser -UserPrincipalName <expected email of the manager>

and it did not return the email of any user I tried with. So I'm suspect there maybe something missing the Azure AD settings, but I'm not sure entirely.

closed as off-topic by Robert Lindgren Apr 21 '17 at 11:19

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Programming questions not specific to SharePoint are off-topic here, but can be asked on Stack Overflow." – Robert Lindgren
If this question can be reworded to fit the rules in the help center, please edit the question.