Skip to content

Conversation

@bKP451
Copy link
Contributor

@bKP451 bKP451 commented Jul 1, 2025

Auth 2.0 authentication for Yammer is deprecated. Has been re branded to Viva engage. Now to access legacy Viva Engage ( Yammer ) APIs, it is recommended to use Yammer API registered via Azure Portal. This PR kind of differentiates between Microsoft graph and Yammer profile, so bearer token returned does not throw invalid audience error.

Note:
We supply explicit yammer scopes before applying for bearer token. Yammer scopes can be

  1. https://api.yammer.com/access_as_user
  2. https://api.yammer.com/user_impersonation

Yammer docs

Copy link
Owner

@synth synth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, thanks!

Copy link
Owner

@synth synth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, tests are failing, can you please review?

@synth synth merged commit f0b80f1 into synth:main Jul 2, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants