How do I connect Azure App registration for AAD Token to Yammer Client App?

Sudarshan Neupane 1 Reputation point
2022-09-21T19:36:28.873+00:00

I am trying to create a custom integrations of yammer with SharePoint. I am using azure active directory token for authentication.
I also have created a yammer app.

I am able to get access token using MSAL js but when I use that token to make yammer api call, I am getting CORS error.

Upon reading the documentation for yammer in below link, it says I need to submit a ticket to link yammer client app to azure app registration.

https://learn.microsoft.com/en-us/rest/api/yammer/authentication-1#:~:text=using%20MSAL.-,Client%2Dside%20Single%20Page%20JavaScript%20Application,-If%20you%20are

Can you guide me connect these two apps so I can get rid of CORS error.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,909 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. 2022-09-22T03:14:11.057+00:00

    Hello @Sudarshan Neupane and thanks for reaching out. In order to avoid the issue CORS when authenticating to Yammer we need to map your Azure AD app registration to the appropriate Yammer Platform Application. Please request the aforementioned action trough an Azure support request.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.

    0 comments No comments