Forum Discussion

inkybuck's avatar
inkybuck
Copper Contributor
Jun 01, 2021

Registering Azure AD App in National Clouds

We have an app that uses the Microsoft identity platform to get tokens for Microsoft Graph and Exchange Online PowerShell, so that it can read and change settings in a customer's Office 365 tenant. We now need to make this work with Office 365 Germany, and eventually Office 365 Government Cloud Computing in the US. As I understand it, these are completely separate from the "normal" Azure AD, so we will need to register our app in each of these clouds. Normally the first step to doing this is to log into the Azure portal, however, it's not clear to me if or how I can get an account on the portal for either of these. In the case of Germany, I can't find how to create an account, maybe because it's being phased out. For Government Cloud Computing, it looks like you have to be a part of the government. As a developer wanting to get OAuth tokens for users on these clouds, how do we register our apps? Thanks for any information.

  • Seshadrr's avatar
    Seshadrr
    Iron Contributor
    National clouds are physically isolated instances of Azure. These regions of Azure are designed to make sure that data residency, sovereignty, and compliance requirements are honored within geographical boundaries.

    Including the global cloud, Azure Active Directory (Azure AD) is deployed in the following national clouds:  

    Azure Government
    Azure Germany
    Azure China 21Vianet

    National cloud Azure AD portal endpoint
    Azure AD for US Government https://portal.azure.us
    Azure AD Germany https://portal.microsoftazure.de
    Azure AD China operated by 21Vianet https://portal.azure.cn
    Azure AD (global service) https://portal.azure.com
    • inkybuck's avatar
      inkybuck
      Copper Contributor

      Right, so if I want to get an OAuth token for a customer using one of the national clouds, I need to have the app that is requesting the token registered in that cloud, is that correct? How to do I do that? I assume I need to log into the Azure portal that you listed for the given cloud? Do I need a Microsoft Work/School account in that cloud to do so? (It looks like yes, but can I get one, for instance, for Germany, which is not accepting new customers?)

Resources