question

SaiArunKumarPalwadi-0543 avatar image
0 Votes"
SaiArunKumarPalwadi-0543 asked Deva-MSFT answered

OrganizationFromTenantGuidNotFound When connectiong with API

I am trying to do this from my Pega personal edition
with all the API required data from my Microsoft azure app- like application id, tenant id, secret key, Endpoint URL , principal name. Getting the below error. please help asap we are blocked

Details
Created DefaultExecutors
Starting to send request, URL https://graph.microsoft.com/v1.0/users/saiarunkumarpalwadi@gmail.com/mailFolders
Request Method GET
Response code 401, Unauthorized
Handling error response
Deserializing type GraphErrorResponse
Graph service exception Error code: OrganizationFromTenantGuidNotFound
Error message: The tenant for tenant guid '473d34ad-52b0-41cf-ac75-b2a94db08613' does not exist.

GET https://graph.microsoft.com/v1.0/users/saiarunkumarpalwadi@gmail.com/mailFolders
SdkVersion : graph-java-v1.4.0
Authorization : Bearer eyJ0eXAiOiJKV1QiLCJub25jZSI[...]


401 : Unauthorized
[...]

[Some information was truncated for brevity, enable debug logging for more details]


microsoft-graph-notifications
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Please help on this quickly if any settings or config is missing

0 Votes 0 ·

1 Answer

Deva-MSFT avatar image
0 Votes"
Deva-MSFT answered
  • Download the latest Microsoft Graph SDK for Java SDK and see still the issue persists.

  • Try isolating the issue outside of SDK using POSTMAN/Graph Explorer. If issue persists only with SDK then report the issue at the repo directly.

  • If you can repro the issue with API call, then have a look at the related thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.