Unable to authenticate Microsoft Dynamics Excel Add In

Matt Johnson 0 Reputation points
2025-09-02T18:12:37.9366667+00:00

We have Business Central V19 On premise and we are trying to setup Excel Add in for the first time.

MS Dynamics Excel Add-in Authenticationimage

image 'https://az689774.vo.msecnd.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin'

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

3 answers

Sort by: Most helpful
  1. Ian-T 6,570 Reputation points Microsoft External Staff Moderator
    2025-09-03T07:54:48.43+00:00

    Hi Matt Johnson

    Welcome to Microsoft Q&A Forum.

    Thanks for sharing the details — the CORS error (No 'Access-Control-Allow-Origin') combined with running Business Central on-premises v19 strongly suggests an authentication request is being blocked due to missing configurations.

    Here are some steps that you can kindly follow to help resolve this issue:

    1. Enable the Required URLs Through Network/Firewall
    2. Sign out and reload to clear silent sign-in cache:
      • In the add-in sign-in pane, right-click or tap the blank area to trigger the context menu.
      • Select Reload (or use the Microsoft Dynamics menu if visible) to purge cached sign-in tokens.
      • The login prompt will appear cleanly again, allowing a fresh sign-in.
    3. Confirm App Registration and Configuration
      • AAD app must exist for the Excel Add-In, with proper redirect URI (set as SPA) and permissions.
      • In Business Central’s Office App Parameters page:
      • All tabs-App parameters, Registered applets, and Registered resources-should be populated.
      • If any are empty, click Initialize to register the add-in properly.

    Please feel free to let me know if you need any further assistance.


    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. image

    0 comments No comments

  2. Ian-T 6,570 Reputation points Microsoft External Staff Moderator
    2025-09-06T00:17:07.2833333+00:00

    Dear Matt Johnson

    Is there any update on this thread?  

    If the issue has been resolved, please mark the helpful replies as answers.  

    This helps others in the community facing similar problems.  

    Thanks for your understanding. 

    0 comments No comments

  3. Ian-T 6,570 Reputation points Microsoft External Staff Moderator
    2025-09-07T23:29:09.08+00:00

    Hello Matt Johnson

    Just checking in to see if the above information was helpful.  

    If you have any further updates on this issue, please feel free to post back.  

    If you think my reply is helpful to you, please remember to mark it as an answer. Warm thanks. 

     

    0 comments No comments

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.