HI All,
Does anyone has created or called MS GRAPH API via PowerApps, I would like to retrieve user alias, email address, display name, Manager, Skip level, etc.
if thats the case, how to get Manager hierarchy, chain?
Hi @Vishal1
Beta was released in Aug this year. As of now, there is no announcement for this release. I'm confident that will be only released next year.
Thanks,
Stalin - Learn To Illuminate
Any idea when Graph Beta is coming? existing graph explorer doesnt give me manager chain or hierachy.
Hi @Vishal1
The Beta version is not for production. MS exploring and can break anything and not guaranteed. For now, we can explore as POC and expect this in the future release.
the screenshot you have attached, looks like I don't have access to get manager hierarchy may be due to vendor? and not sure on the beta version.
Hi @Vishal1
Graph API V1.0 does not have status. Here is the to get manager hiereachy
https://graph.microsoft.com/v1.0/me?$expand=manager($levels=max;$select=id,displayName)&$select=displayName,employeeid,userPrincipalName,mail,mailNickname,AccountEnabled&$count=true
Bete version has more properties compared to V 1.0
https://graph.microsoft.com/beta/me
Thanks,
Stalin - Learn To Illuminate
Thank you again, I see you have added account enabled? i wonder if we have column like employee status or employee active or not? and also, how to get manager next level (boss).
Hi @Vishal1
We can get employees account status
https://graph.microsoft.com/v1.0/me?$expand=manager($levels=1;$select=displayName,employeeid,userPrincipalName,mail,mailNickname,AccountEnabled)&$select=displayName,employeeid,userPrincipalName,mail,mailNickname,AccountEnabled&$count=true
Thanks,
Stalin - Learn To Illuminate
Stalin, thank you, can you try to get me employee status as well and skip level is nothing but my manager boss info.
Hi @Vishal1
We can combine the attributes like below
https://graph.microsoft.com/v1.0/me?$expand=manager($levels=1;$select=displayName,employeeid,userPrincipalName,mail,mailNickname)&$select=displayName,employeeid,userPrincipalName,mail,mailNickname&$count=true
Not sure about skip level.
Thanks,
Stalin - Learn To Illuminate