Dynamics 365 Web Resource Extension for Visual Studio Code.
This extensions allows for connecting to Dynamics 365 to modify and publish various web resources.
You must create an app registration that has impersonation rights for Dynamics CRM and User.Read for the Graph API.
This extension contributes the following settings:
webRM.appClientId
: (REQUIRED) Client Id of your registered app in AzurewebRM.appTenantId
: (REQUIRED FOR SINGLE TENANT APPS) Tenant Id of your registered app in Azure. Leave blank if Mult-TenantwebRM.connectionInfoFolder
: (REQUIRED) Folder to store encrypted connection infowebRM.dynamicsAPIVersion
: (REQUIRED) API Version for Dynamics 365 Web APIwebRM.solutionNameFilter
: Used to filter solution list retrieved from DynamicswebRM.solutionSortAscending
: Used to change sort order of returned solution list
Currently, this extension only works for Dynamics 365 Online. I have not tested with any other versions other than 9.0+
Updated to MSAL library for authentication.
Initial release with updated authentication libraries.
Added feature for adding and removing solutions as favorites by right clicking them.
Updated code for web resource retrieval.
Make sure user impersonation is checked when adding Dynamics 365 permissions.
Make sure http://localhost is added to redirect uri for "Desktop Application"
Don't forget to add the required configuration settings from your app registration to the vscode extension settings.
Open the command palette (ctrl+shift+p) and select 'Dynamics: Publish Web Resource'