Submit SharePoint Add-ins for Office 365 operated by 21Vianet in China

Note: If your add-in is not a SharePoint Add-in that requires OAuth authentication, this does not apply to you.

Office 365 operated by 21Vianet is powered by the technology that Microsoft has licensed to 21Vianet.

Microsoft does not operate the service itself; 21Vianet operates, provides and manages delivery of the service. 21Vianet is the largest carrier-neutral Internet data center services provider in China. It provides hosting, managed network services, and cloud computing infrastructure services. Microsoft licenses Office 365 to 21Vianet, who then use it to set up Office 365 data center for their users in China. 21Vianet operates local Office 365 data centers and provide Office 365 services to users in China while keeping their data within China. 21Vianet also provide user subscription and billing services, as well as support.

Note: These services are subject to Chinese law.

A SharePoint Add-in that requires OAuth authentication uses OAuth client ID and client secret generated by Microsoft Azure services. The authorization server is Microsoft Azure Access Control Service (ACS).

The client ID and client secret providers in China are different from the providers for the rest of the world. The client ID and client secret providers in China are hosted in different data centers from the providers for the rest of the world. The Seller Dashboard has the capability to create client ID and client secret for the China data center and for the global data center.

Note: For more information about OAuth, see Authorization and authentication of SharePoint Add-ins and Context Token OAuth flow for SharePoint Add-ins.

Because your SharePoint Add-in that requires OAuth authentication has to be associated with a client ID and client secret, you will need to submit an additional copy of your add-in if you wish to distribute your add-in to Chinese users of Office 365 operated by 21Vianet. This requires submitting two separate copy of your app—one submission using the client ID for China and targeting Chinese users of Office 365 operated by 21Vianet, and the other submission using the client ID for the rest of the world. When you submit your add-in in the Seller Dashboard for distribution in China, you block access for all countries except China. In addition, you also create a separate add-in listing.

If you only wish to distribute your add-in to Chinese users of Office 365 operated by 21Vianet, you will only need to submit one add-in listing and use the client ID for China. Similarly, if you do not wish to distribute to China, you will only need one add-in listing and use the global (non-China) client ID.

Additional resources