Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kailasamn opened this issue Feb 1, 2016 · 3 comments
Open

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

kailasamn opened this issue Feb 1, 2016 · 3 comments

Comments

@kailasamn
Copy link

Hi

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

@pandrew1
Copy link
Contributor

pandrew1 commented Feb 1, 2016

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.

@kailasamn
Copy link
Author

Hi
Thank you. This solves my issue.

@kailasamn kailasamn reopened this Feb 9, 2016
@kailasamn
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants