I am trying to get user department and companyname from EntraID using azure logic app.
So far, I am trying to use the following to get the information.
{
"type": "object",
"properties": {
"@@odata.context": {
"type": "string"
},
"businessPhones": {
"type": "array"
},
"displayName": {
"type": "string"
},
"givenName": {},
"jobTitle": {},
"ddepartment": {},
"companyname": {},
"mail": {},
"mobilePhone": {},
"officeLocation": {},
"preferredLanguage": {},
"surname": {},
"userPrincipalName": {
"type": "string"
},
"id": {
"type": "string"
}
}
}
But it is not retrieving the information from EntraID. I have declared userprincial name so it should get the user name first before getting the details.
Can someone help?
I have tried to even initialize the department and companyname variable. I have not tried anything else because the playbook runs but the information is blank when looking at the run history.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744147476a4560492.html
评论列表(0条)