05 March 2019

Dynamics 365 Business Central: Permissions required to download AL symbols

Your user needs to have the necessary permission to download AL symbols from Visual Studio Code (VSCode), else you will end up with "Could not download symbols" error in VS Code.

In order to download symbols, User needs to have SUPER permission or should have "D365 EXTENSION MGT" permission assigned. Symbols are stored per tenant and not per company, therefore Company field must be blank in either option.

Clear credentials cache in VSCode and sign in again from VS Code (Download symbols and it will ask your credentials to sign in) 
once you have the "D365 EXTENSION MGT" permission group or SUPER permission set assigned to the user, 
This time VSCode will successfully download symbols from Microsoft Dynamics 365 Business Central.


Please provide your feedback with a comment.
Thank you and Regards,
Tharanga Chandrasekara
Read more »

01 March 2019

How to check Microsoft Dynamics 365 Business Central tenant version

You can use the "System Information" page to check the current version of Microsoft Dynamics 365 Business Central tenant.

Simply search for "System Information" using "Tell me what to do" and click on the "System Information" link in the result. 

"System information" page will show the current version of the tenant. Version get change every time Microsoft upgrade the tenant.

Another way of checking the platform version is by using the admin center. 

Please provide your feedback with a comment. 
Thank you and Regards,
Tharanga Chandrasekara
Read more »

How to access action output in Logic Apps

If you are working on Logic App to integrate Microsoft Dynamics 365 Business Central with any other third party application, by now most probably you must have used HTTP requests or custom connectors (mainly with SOAP web services). 

I saw a couple questions in the forum asking how to access action output in Logic App. 

Below JSON is copied from an action output:
 {  
  "Soap:Envelope": {  
   "@xmlns:Soap": "http://schemas.xmlsoap.org/soap/envelope/",  
   "Soap:Body": {  
    "isPostingPeriodOpen_Result": {  
     "@xmlns": "urn:microsoft-dynamics-schemas/codeunit/GenJnlPost",  
     "return_value": "false"  
    }  
   }  
  }  
 }  

What if you want to read the "return_value" field of the action output? You can use any of the below statements based on your requirement. 
  • Below statement will return the actual value or if the value is empty it will return ''
 {ActionOutputs('Compose_isPostingAllowed')?['Soap:Envelope']?['Soap:Body']?['isPostingPeriodOpen_Result']?['return_value']}   
  • Below statement will return the actual value or if the value is empty it will return null
 ActionOutputs('Compose_isPostingAllowed')['Soap:Envelope']['Soap:Body']['isPostingPeriodOpen_Result']['return_value']  

Please provide your feedback with a comment. 
Thank you and Regards,
Tharanga Chandrasekara
Read more »