Error during SharePoint Add-in deployment: 403 Forbidden error in Visual Studio 2019

Nikunj Choksi 10 Reputation points
2024-12-20T10:22:07.6333333+00:00

Hi Team,

I am experiencing the following error while trying to deploy a SharePoint Add-in,

Error occurred in deployment step 'Install SharePoint Add-in': The remote server returned an error: (403) Forbidden (Error Screenshot attached here).

  1. The SharePoint Add-in is correctly configured in the project.
  2. The credentials and permissions on the SharePoint server seem correct.
  3. I've tried restarting Visual Studio and clearing any cached credentials.

However, the issue persists.

Could you assist me in diagnosing and fixing this issue?

Error_Screenshot_Visual Studio 2019

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,630 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rod Merritt 0 Reputation points
    2025-01-15T19:55:43.19+00:00

    I have the same exact issue with my environment

    0 comments No comments

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.