Azure active directory 在Graph API beta端点上创建Azure AD应用程序时出错

Azure active directory 在Graph API beta端点上创建Azure AD应用程序时出错,azure-active-directory,microsoft-graph-api,Azure Active Directory,Microsoft Graph Api,我将以下有效负载发布到https://graph.microsoft.com/beta/applications端点: { "displayName": "23e724af-2544-4764-ab56-520710fda746", "homepage": "https://23e724af-2544-4764-ab56-520710fda746", "identifierUris": [ "urn:23e724af-2544-4764-ab56-520710fda746" ],

我将以下有效负载发布到
https://graph.microsoft.com/beta/applications
端点:

{
  "displayName": "23e724af-2544-4764-ab56-520710fda746",
  "homepage": "https://23e724af-2544-4764-ab56-520710fda746",
  "identifierUris": [ "urn:23e724af-2544-4764-ab56-520710fda746" ],
  "replyUrls": [ "https://23e724af-2544-4764-ab56-520710fda746" ],
  "requiredResourceAccess": [],
  "signInAudience": "AzureADMyOrg"
}
此操作失败,HTTP 400响应具有以下响应主体:

{
  "error": {
    "code": "Request_BadRequest",
    "message": "A value without a type name was found and no expected \
                type is available. When the model is specified, each value \
                in the payload must have a type which can be either specified \
                in the payload, explicitly by the caller or implicitly \
                inferred from the parent value.",
    "innerError": {
      "request-id": "3de11d38-b10a-4711-baa5-0daee8af1b22",
      "date": "2019-03-04T07:20:37"
    }
  }
}
有人知道我做错了什么吗


我与之进行此调用的服务主体具有
应用程序.ReadWrite.OwnedBy
权限。

我可以在我这边重现您的问题,在请求主体中,您需要提供对象的JSON表示。请参阅:。
主页
回复URL
不是它的,删除它们,它就会工作


啊,我设法用一个旧的应用程序对象调用了新的端点。谢谢你指出这一点!