sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Additional property on context: Site's Tenant Id

Open weshackett opened this issue 10 years ago • 2 comments

Can we get the Office 365 tenancy Id (the Guid that the Graph would recognise).

This is super useful in the following scenarios.

  • Telemetry
  • Extranet scenarios in B2B so you know where the user originates
  • Using the MS Graph once it comes

weshackett avatar Aug 27 '16 19:08 weshackett

If you wait long enough, we listen :) . This is actually available now on the context. Both the SiteSubscriptionId and the AADTenantID. For now, you need to look at the LegacyContext property.

patmill avatar Oct 24 '17 16:10 patmill

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 30 '20 12:01 msft-github-bot