admin管理员组

文章数量:1397074

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.

本文标签: Microsoft Logic appGet User departmentStack Overflow