Error while logging into Sandbox in VS for deploying extension for D365 BC

Error while logging into Sandbox in VS for deploying extension:

(1) In this blog, we will see how to resolve logging errors while deploying extensions in the SAAS version of D365 BC.

(2) I received the below error while publishing the extension into Sandbox in Visual Studio.

  • Credentials are incorrect as shown.
credentials are incorrect in D365 BC
  • “schemaUpdateMode” is “Synchronize” & “dependencyPublishingOption” is “Default”.
  • Cleared credential cache.

(3) The resolution of the above error is check the app.json file and “launch.json” file settings as shown.

  • “launch.json”:  Set the below properties as per the image for deploying the extension in the SAAS version of D365 BC.
launch.json file of bc d365
app.json in d365 bc
clear credentials in al

(4) After doing the above activities, the error has been resolved.


How to Read Value from BLOB Field Datatype in D365 BC
Bank Reconciliation Report Development and Format in D365 BC
TCS Register Report Development and Format in BC D365
How to Create Vendor Master in D365 BC
Sales Reports and Analytics in Business Central– Microsoft Docs

Leave a Reply