My organization/tenant region is in India. I am trying to use Microsoft Graph Data Connect, following the steps here: Microsoft - Getting started with Microsoft Graph Data Connect
I initially had my ADF Data Factory/Pipeline in West US. - So, upon triggering the ADF pipeline, I got the error - "PermanentError. The extraction failed because the region in which the user data resides is different from the region this pipeline is running".
So then I moved my ADF Data Factory/Pipeline region to India. However, while adding the source, when I test connection of the linked service, I am getting error:
Office365 data loading failed to get OAuth token. Operation returned an invalid status code 'InternalServerError'. Error code: 10222
I have double checked that my Service principal ID as well as Service principal key is correct. This issue is coming only when the data factory/pipeline region is not US.
Any pointers on what the issue is here? The error message is not very useful and I'm basically stuck! Any help appreciated!