Skip to content

Can't able to list the customers with live credentials  #3

@kailasamn

Description

@kailasamn

Hi,

I have posted an issue last week
"I can able to list the customers with sandbox credentials. But I cant able to list the customers with live credentials. I am getting the below error.

code":"Authorization_IdentityNotFound","message":{"lang":"en","value":"The identity of the calling application could not be established"}

I have referred the method "GetAllCustomers" in customer.cs"

PAndrew Replied that

"Commonly this is because you haven't added the Azure AD permission to your App ID that your software is signing in as. To resolve this: 1) add your partner directory to an Azure AD subscription that has a Microsoft Account as administrator, 2) use the Azure management portal to open the directory and edit the App ID in that directory that you are using, 3) configure the App ID and add the Azure AD directory read permission to it."

I have mistakenly closed the above issue as solved..

I have few queries here

  1. I have created sandbox environment using my admin account and created an APP

  2. I have already added Azure Active directory "Read and write " permission to that APP from windows.manage.azure using my admin account

  3. it worked perfectly in sand box Environment

  4. now in my Program i am using live credential without changing any setting which i have mentioned in step 1&2 ...i got "{"odata.error":{"code":"Authorization_IdentityNotFound",
    "message":{"lang":"en","value":"The identity of the calling application could not be established."}}}
    "

  5. then i have changed my APP ID URI which was"https://sandboxaccountId/35ff880b-4aa3-404b-..."
    to https://LiveDomainID/35ff880b-4aa3-404b-..."still i am facing same issue.

Could someone tell me what went wrong here?we are already in production and we need to fix it immediately.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions