我正在尝试获取 Teams 应用的发布者名称,并使用以下 Graph API 终结点:
在上面的响应中,created by为空,而且没有发布者名称字段。在Microsoft文档中找不到有关graph API的信息。如果有线索,请告知。可以使用PowerShell/PowerAutomate/GraphAPI进行任何路由操作。 它在 MS Teams 应用程序中显示的图片。
https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$expand=appDefinitions&$filter=id eq 'GUID-xxxxxxxxx'
请注意,需要保留 HTML 标签。{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#appCatalogs/teamsApps(appDefinitions())",
"value": [
{
"id": "{GUID-xxxxxxxxxxxxxxxxx}",
"externalId": null,
"displayName": "OneNote",
"distributionMethod": "store",
"appDefinitions@odata.context": "https://graph.microsoft.com/v1.0/$metadata#appCatalogs/teamsApps(GUID-xxxxxxxxxxxxxxxx')/appDefinitions",
"appDefinitions": [
{
"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"teamsAppId": "GUID-xxxxxxxxxxxxxxxxxxxxxx",
"displayName": "OneNote",
"version": "1.0.0",
"publishingState": "published",
"shortDescription": "Use OneNote notebooks to collaborate on digital content with your team.",
"description": "Use OneNote notebooks to collaborate on digital content and share it with your team.",
"lastModifiedDateTime": null,
"createdBy": null
}
]
}
]
}
在上面的响应中,created by为空,而且没有发布者名称字段。在Microsoft文档中找不到有关graph API的信息。如果有线索,请告知。可以使用PowerShell/PowerAutomate/GraphAPI进行任何路由操作。 它在 MS Teams 应用程序中显示的图片。