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

SharePoint Webhooks tenantId not same as azure tenantId

Open tavikukko opened this issue 9 years ago • 2 comments

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.

Category

  • [ ] Question
  • [ ] Typo
  • [ x ] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

When receiving webhook Notification, the notification tenantId property is the same as the azure tenantId behind o365 subscription.

Observed Behavior

If you first create o365 tenant and later associate that tenant with another Azure Ad, the webhooks will still use the old tenantId when sending notifications. This is probably like this on purpose, but this can cause problems when, for example, you try to send the notification to all users belonging to that specific o365 tenant but cannot match the users because they have different tenantId.

Steps to Reproduce

associate another azure ad to existing o365 subscription and check the notifications received in endpoint and view the tenantId and compare that to the associated azure ad tenantId.

tavikukko avatar May 30 '17 14:05 tavikukko

The tenantId in the notification package is the SharePoint tenant ID. It will not necessarily change.

chackman avatar Jul 03 '17 20:07 chackman

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 29 '20 12:01 msft-github-bot