Microsoft Graph API应用程序徽标

时间:2017-06-09 20:41:45

标签: microsoft-graph

随着2017年5月测试版更新,请通过从mainLogo更改为徽标的GRAPH API检索应用程序徽标。当使用新的API通过Graph Explorer进行测试时,现在给出了如下错误消息,尝试了logoUrl属性,它也失败了。

API调用 https://graph.microsoft.com/beta/applications/[ApplicationID]/logo

{
    "error": {
        "code": "Request_UnsupportedQuery",
        "message": "This property logo cannot be read. Please use the logoUrl property.",
        "innerError": {
            "request-id": "623806c0-6255-4b7d-bce1-d1cb7a982e6c",
            "date": "2017-06-09T20:21:37"
        }
    }
}

1 个答案:

答案 0 :(得分:1)

logoUrl位于信息下,例如https://graph.microsoft.com/beta/applications/[ApplicationID]/info/logoUrl