Office 365 returns different ID attributes based on user type

Description

Summary

< conversation >

Per Scott this appears to be an issue with Microsoft returning different IDs based on the user type.

'00000000-0000-0000-be95-fe607df5dbeb' however the id that was stored by OAuth is be95fe607df5dbeb.

The customer in question appears to have it not returned concatenated and instead as '0e8fddd4-50d3-4499-9a93-a390ee8cb83d'

Scott has tested this and has a recreate active.

Workaround

For the time being reverting back to the OAuth appears to resolve this.

QA Test Steps

Login as System Admin
Setup Office 365 for OAuth

Login as OAuth User

Login as System Admin
Migrate Office 365 to user OpenID Connect.

Login as OAuth User.

This should be tested with a corporate, as well as, and individual user.

Activity

Show:
Furqan Malik
March 31, 2021, 3:08 PM

Tested on https://prev.test.mattermost.com/

Working as expected

Done

Mana

None

Assignee

Scott Bishel

QA Assignee

Furqan Malik

Reporter

Colton Shaw

Epic Link

None

Mattermost Team

Enterprise

Sprint

None

Labels

QA Testing Areas

None

GitHub Issue

None

Components

None

Severity

None