Create learning content for custom learning provider

Ross Barrow 0 Reputation points
2025-09-17T11:36:17.67+00:00

Hi

I've created a custom learning provider in Viva Learning. Attempting to add learning content for this provider using the Graph API gives the following response:

{'error': {'code': 'forbidden', 'message': 'Forbidden', 'details': [{'code': 'badRequest', 'message': 'There was an issue with your request. Make sure the application is registered with the provider for your tenant.'}], 'innerError': {'date': '2025-09-17T11:19:36', 'request-id': '385f9572-2bae-4cb4-a1c4-1561a07268e3', 'client-request-id': '385f9572-2bae-4cb4-a1c4-1561a07268e3'}}}


Can you tell me how I can register my application to allow it to create learning content for my provider?

Thanks

Microsoft 365 and Office | Microsoft Viva | Viva Learning
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michelle-N 9,420 Reputation points Microsoft External Staff Moderator
    2025-09-17T12:50:38.3066667+00:00

    Hi @Ross Barrow

    Thank you for posting question to Microsoft Q&A.

    Based on the error message you provided, particularly the detail Make sure the application is registered with the provider for your tenant, it seems the error is due to a security requirement in Viva Learning: the application trying to add content must be the exact same application that originally created the learning provider.

    As a forum moderator, I can help guide discussions and share insights based on public documentation and community knowledge. We don’t have access to the detailed system needed to troubleshoot this effectively due to privacy and security constraints. However, I will try to gather as much information as possibe to help you.

    The app (Azure AD App Registration) you're using to call the API is not the same app that was used to create the learning provider. Microsoft requires that the same app must be used both to create the provider and to ingest (push) content. To resolve this, you need to use a single, dedicated Azure AD application for both creating the provider and managing its content. Please follow the steps below to set this up correctly:

    Based on the research I've done, I recommend you refer to the following article and follow the instructions step-by-step: Adding a custom content provider to Viva Learning with Microsoft Graph

    Wish you a pleasant day!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.User's image


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.