Skip to main content

Notifications

Announcements

No record found.

How can development partners add permission sets for new APP production roll-out?

Microsoft development partners who builds  extension solutions for SAAS (On cloud) Business Central  requires to add the permission to the developed solution for production roll-out.  Let’s try to deploy the custom developed solution to the production environment  and walk through the steps to resolve the issues one by one.

1) Upload the extension by navigating to Extension management page.

pastedimage1592032447365v2.png

When you hit the Deploy you will get a message like “Extension deployment is in progress. Please check the Deployment Status page for updates.” Then you hit OK.

2) Type the DEPLOYMENT STATUS on the TELL ME search bar to see the status of the extension deployment. Unfortunately the status is failed

2.png

If we click on the extension and click on view details, we can see the error details as follows.

3.png

3) Go to your AL project and run the following command using Ctrl Shift P

4.png

You can find the new XML file containing permission set is generated in your project output directory.

5.png

4) Try to publish the app by running F5 command on the sandbox environment. You will find that your app is published on the sandbox.

5) Navigate to PERMISSION SET page. You will fin a new permission set is created with your app name. if you click on that you can find the custom object details as follows. 

6.png

 You can export the permission set from the SANDBOX and deploy on the Production environment before uploading the extension

7.png

6) Try to upload the extension again  and you are good now.

8.png

Comments

*This post is locked for comments