We have a SharePoint (SP) provider hosted add-in that works in normal SP sites in commercial cloud. However, for tenancies where Azure AD is in US Gov cloud, we are not able to create the client context even though the app gets installed in SP site.

If we create the Client Id and Secret using appregnew.aspx then we are able to create context (/_layouts/15/AppRegNew.aspx). However, these will work only in the specific tenancy from where it is generated.

From where can we generate Client Ids that can work with US Gov tenancies? We are creating IDs in seller dashboard but it does not give any option for normal vs. US Gov Ids.

  • any update on this? – windfly2006 Oct 26 '20 at 19:40
  • @windfly2006 Sadly no. Still waiting for some reasonable documentation on this topic. – Prakash Oct 26 '20 at 20:01
  • Thanks Prakash. We end up adding the client id to the tenant through AppRegNew.aspx page for now. – windfly2006 Nov 19 '20 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.