Close Menu
    Facebook X (Twitter) Instagram
    Sunday, May 18
    X (Twitter) LinkedIn
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»configmgr»Authorization error when attempting to download Windows Store for Business application inventory – ConfigMgr

    Authorization error when attempting to download Windows Store for Business application inventory – ConfigMgr

    Eswar KonetiBy Eswar KonetiNovember 25, 9:29 pm3 Mins Read configmgr 5,577 Views
    Share
    Facebook Twitter LinkedIn Reddit

    The Microsoft Store for Business (wsfb) is where you find and acquire Windows apps for your organization. When you connect the store to Configuration Manager, you then synchronize the list of apps you've acquired. View these apps in the Configuration Manager console, and deploy them like you deploy any other app.

    More information about Microsoft Store for Business, please read here

    Our users were trying to install some apps from the Microsoft store. when users try to install the apps from the store, it failed because of proxy issues. Microsoft Store on Windows 10 sign-in page goes through login.live and is blocked for security reasons.

    So, we have to look for an alternative to deploy store apps for our users and we decided to integrate MSFB with the configuration manager and make full use of features that msfb provide.

    Follow the guide here to Integrate Microsoft store for business with Configuration Manager.

    How to integrate windows store for business with system center configuration manager ?

    Login to console and browse to \Administration\Overview\Cloud Services\Azure Services

    Click on configure azure services and follow the steps given in the screenshots below.

    image        image      image 

     image     image     image    image

    After the configuration of azure services for wsfb, wsfb failed to download Windows Store for Business application inventory.

    Error code from the log WsfbSyncWorker.log located in your configuration manager setup folder.

    Exception: [Microsoft.ConfigurationManager.CloudBase.CMHttpRequestException: Unsuccessful response when content result expected for request.

    Error occurred making HTTP request calling 'GET' method on 'https://bspmts.mp.microsoft.com/V1/Inventory?maxResults=100&modifiedSince=0001-01-01T00:00:00.0000000&includeRemoved=true': (Unauthorized) 'Unauthorized'.

    at Microsoft.ConfigurationManager.CloudBase.SmsHttpClient.<GetStringFromHttpResponseMessageAsync>d__35.MoveNext()

    --- End of stack trace from previous location where exception was thrown ---

    What it means is, The azure web application that you created during the wsfb wizard does not have access to download the wsfb inventory.

    In order to fix this, we will need to configure a tool to synchronize your Microsoft Store for Business inventory.

    Login to https://businessstore.microsoft.com/ with an admin account.

    Click on settings, distribute https://businessstore.microsoft.com/en-us/manage/settings/distribute

    Click on add management tool

    In the search, type the azure web app name that you created during the integration of wsfb in Configuration Manager.

    Click add

    Now we have given the permissions to the Azure web app to download the inventory.

    When you add the tool, the status is in inactive, Click on Activate

    The status is now changed to active and action changed to deactivate.

    We will now go back to Configuration Manager console and perform sync from Microsoft Store for Business.

    Monitor the log WsfbSyncWorker.log for sync status.

    Soon after the sync successful, you will see the apps appear in the software library: \Software Library\Overview\Application Management\License Information for Store Apps

    Reference:

    Troubleshoot the Microsoft Store for Business integration with Configuration Manager

    Configure mdm provider microsoft store for business

    Authorization error configmgr deploy store apps microsoft store SCCM Store for business wsfb WsfbSyncWorker
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    Optimize Your Intune Workflow with a Powerful Browser Extension

    March 22, 10:39 am

    Migrate Microsoft 365 Updates from SCCM/MECM to Intune for Co-Managed Devices

    February 11, 9:50 pm

    How to detect the source of registry key modifications on windows devices – Intune

    November 21, 8:49 pm

    2 Comments

    1. Luke on November 23, 2020 5:47 PM

      Could there be any other reason it fails to sync? We have the webapp activated as per this blog but still get failed to sync.

      Reply
      • Eswar Koneti on November 24, 2020 12:00 PM

        Hi,
        Did you check the logs? any information log?

        Thanks,
        Eswar

        Reply

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2024 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.