Outlook web addin - "Failed to deploy the manifest file to the Exchange server" (401)

Pablo Glomby 186 Reputation points
2022-01-03T17:10:23.867+00:00

Hi!
Let me describe what I exactly do.
I create a project:
161896-image.png

161991-image.png

Now I simply compile it (I do not even modify any single line of code):
161868-image.png

And I simply start it:
161963-image.png

I get:
161897-image.png

I click on Connect and it starts cycling and after a while:
161972-image.png

I can see the found parameters are OK:
161992-image.png

What is stranger is that I already have another web addin project and it works fine… I tried to transform the new project using the same files and settings than the other project that works but no way…. I used exactly the same ports, the same manifest XML (exactly the same) and I even went to the .csproj files and ensured that everything was just the same… but it does not want to run.

Any advise?
Thanks

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,536 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,287 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Faery Fu-MSFT 17,111 Reputation points Microsoft Vendor
    2022-01-04T05:57:44.733+00:00

    Hi @Pablo Glomby ,
    Welcome to Microsoft Q&A forum and thanks for posting your question here.
    Thanks for your detailed screenshots and I have tried my best to search some related information.
    In order to verify, when connecting to exchange account, is it an administrator account?
    According to my search, it was found that which is a common problem with Web Deploy, and the workaround is to provide administrative credentials.
    162142-web.png


    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.