We have an application that connects to OneDrive for Business using the Microsoft-graph API. The application is registered in apps.dev.microsoft.com
.
Now we want to support OneDrive for Business Chinese edition. According to the documentation, we changed the endpoints to the Chinese 21Vianet
endpoints. However, when the Office 365 Chinese users try to authorize our application, they get this error:
AADSTS700016: Application with identifier 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx was not found in the directory 'userdomain.com'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.
It seems that the application registration at apps.dev.microsoft.com
is not working for China. Do I have to register our application somewhere else and get another identifier? I can not find it in the documentation.