Debugging Excel Office Add-in with Visual Studio now requires Administrator mode

Andrew Sinclair 5 Reputation points
2023-12-07T10:19:05.4833333+00:00

We can no longer run our Excel Add-ins in debug mode.

This can be replicated by creating a new project in Visual Studio from the template: "Excel Web Add-in"

When the solution is run, the Add-in does not load, there is a loading spinner in the Task Pane, see image below.

Until perhaps the past 2 weeks this was not the case.

If Visual Studio is launched in Administrator mode then the Add-in runs as expected and the Task Pane loads.

Has something changed recently and if so how can we fix this?

Thank you.

Andrew Sinclair

Coderun Technologies

addin

Microsoft 365 and Office Development Other
Microsoft 365 and Office Excel For business Windows
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Jiajing Hua 18,060 Reputation points Moderator
    2023-12-08T03:26:45.1666667+00:00

    Hi @Andrew Sinclair

    Until perhaps the past 2 weeks this was not the case.

    From an Office perspective, I suggest you check the Office version name and version number. If you have Office updated recently, I suggest you rollback Office version to have a check.

    To get earlier Office version number, you may refer to 'Update history for Microsoft 365 Apps (listed by date)'.


    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.



Your answer

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