web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Unable to download source of my own extension with Effective policies issue

(0) ShareShare
ReportReport
Posted on by 105

HI Experts,

I created an extensions and using it in production environment and it is working as expected.

My issue is about to download my own extension.

Extension Management -> selecting my extension -> Download Source (not greyed) 

Getting this issue: 

"The effective policies for this package do not allow you to download the source code. Contact the extension provider for more information."

Currently i'm working in a new version of the same extension in sandbox env. and i can deploy it with success.

Many thank in advance for any help.

Hicham

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,684 Moderator on at
    RE: Unable to download source of my own extension with Effective policies issue

    Hi,

    if the extension belongs to you then please visit the extension in AL code with APP.json file and fine one of the following 

    `"resourceExposurePolicy": {"allowDebugging": <boolean>, "allowDownloadingSource": <boolean>, "includeSourceInSymbolFile": <boolean>}`

    make allowdownladingsource:true

    or find sourcecode: true

  • Hicham OE Profile Picture
    105 on at
    RE: Unable to download source of my own extension with Effective policies issue

    HI Nitin,

    this is exactly the point, i've forgetted to make the allowDownloading source to true. but now I'm in production.

    Does you suggestion means that I have to upload one more time the same extension version ?

    I'm already having too much data depending from the fisrt version.

    Hicham

  • Suggested answer
    Nitin Verma Profile Picture
    21,684 Moderator on at
    RE: Unable to download source of my own extension with Effective policies issue

    Hi,

    yes go to the app and change the version no. And upload it again you would not loss data.

  • Hicham OE Profile Picture
    105 on at
    RE: Unable to download source of my own extension with Effective policies issue

    Hi Nitin,

    Thank you for your reply, but this solution had already been done.

    In my sandbox, i created a new version of this app, and changed the parameter to donwload the source.

    I can download the second version of the app.

    But still not the first one.

    I tried also to unpack the first version .app contained in my second version project in vscode, published it in sandbox, but the results remain the same, with the effective policy issue.

    kind regards,

    Hicham

  • Hicham OE Profile Picture
    105 on at
    RE: Unable to download source of my own extension with Effective policies issue

    HI NItin,

    To give you an update. I still could not make the first version app downloadable (from BC) but I could upload the seoncd version without any issue and all is working fine.

    I think I did something wrong in the process, because I'm having now the first and the second version displayed in Extension Management, the first one having "Is Intalled" as "No" and second version as "Yes".

    I really don't figure out if it is expected or not, but I'm investigating that in documentation.

    Thank you one more time for your help.

    Hicham

  • Suggested answer
    Nitin Verma Profile Picture
    21,684 Moderator on at
    RE: Unable to download source of my own extension with Effective policies issue

    Hi,

    If you think I was able to help you, you can close this thread by marking Yes button.

    Thanks again.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,330

#2
Sumit Singh Profile Picture

Sumit Singh 2,738

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,546

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans