Forum Discussion

LadislavStupak's avatar
LadislavStupak
Brass Contributor
May 18, 2022
Solved

Ready to use Azure App for Selling SharePoint Apps through Microsoft Store

Dear Ladies and Gentlemen,   is there a ready to use Azure App for Selling SharePoint Apps through Microsoft Store?   In case not, can somebody create one and offer it in Azure?   By all respec...
  • LadislavStupak's avatar
    Jul 04, 2022
    According the site “Register a SaaS application”

    https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/pc-saas-registration

    According the part “Register an Azure AD-secured app”

    Each SaaS offer must have own application for registration.

    In the part “Get the token with an HTTP POST” in the site, where you acquire access token through the POST request to the site

    https://login.microsoftonline.com/*{tenantId}*/oauth2/token

    ensure that the body is written in exact this format:

    grant_type=client_credentials&
    client_id=CLIENT_ID_OF_YOUR_AZURE_REGISTRATION_APPLICATION&
    client_secret=CLIENT_SECRET_OF_YOUR_AZURE_REGISTRATION_APPLICATION&
    resource=20e940b3-4c77-4b0b-9a53-9e16a1b010a7

    This registration application for the concrete SaaS offer must be encapsulated in Azure Login functionality.

    Here is a very good example how to create such app in React:

    https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-react

    Around this site are also examples which use other technologies.