无法通过API连接到Azure AD B2C租户

无法通过API连接到Azure AD B2C租户,azure,azure-active-directory,azure-ad-b2c,Azure,Azure Active Directory,Azure Ad B2c,我正在尝试使用看到的说明连接到我的Azure B2C租户。我正在使用postman复制powershell调用。我能够成功获得Azure Graph API的访问令牌。但是,当我尝试使用该令牌注册属性时,我收到以下错误: { "odata.error": { "code": "Authorization_IdentityNotFound", "message": { "lang": "en", "value"

我正在尝试使用看到的说明连接到我的Azure B2C租户。我正在使用postman复制powershell调用。我能够成功获得Azure Graph API的访问令牌。但是,当我尝试使用该令牌注册属性时,我收到以下错误:

{
    "odata.error": {
        "code": "Authorization_IdentityNotFound",
        "message": {
            "lang": "en",
            "value": "The identity of the calling application could not be established."
        },
        "requestId": "d9d7d7dd-f40e-4ed8-91b4-5c21dd4c7c0b",
        "date": "2020-04-09T14:35:36"
    }
}
我的要求如下:

POST /contoso.onmicrosoft.com/applications/**Object_ID**/extensionProperties?api-version=1.6 HTTP/1.1
Host: graph.windows.net
Authorization: Bearer **token**

----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="name"

requiresMigration
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="dataType"

Boolean
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="targetObjects"

["User"]
----WebKitFormBoundary7MA4YWxkTrZu0gW

有人能帮我解决这个请求吗?

这是一个令牌授权问题。在初始令牌请求和提交后续请求时

contoso.onmicrosoft.com


必须替换为应用程序的特定域。

您可以共享承载令牌值吗,您可以在