Skip to main content
Business Central forum
Suggested answer

Automation API - How to get details for extensionDeploymentStatus

editSubscribe (0) ShareShare
ReportReport
Posted on by 5

Hello,

I am working with the Automation API to publish an .app file from code rather than through the UI (Extension Management page).

I have learned how to send a GET api.businesscentral.dynamics.com/.../extensionDeploymentStatus in order to monitor the deployment status. If I query this endpoint and the status becomes "Failed" (instead of "In Progress"), how do I get the details for the failure?

I can see that if I use the UI and visit the Extn Deployment Status Detail (2509, Card) page, I can see the details for the deployment status. But I would like to do this from code if possible.

Thank you,

Ryan

Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 59,926 Super User on at
    RE: Automation API - How to get details for extensionDeploymentStatus

    Hi, I have also tested it before, unfortunately, this API does not provide detailed error information. And I checked the MS Docs below and it looks like there is no update.

    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/resources/dynamics_extensiondeploymentstatus

    pastedimage1669334444810v1.png

    My Test:

    Automation APIs for Dynamics 365 Business Central SaaS

    https://yzhums.com/6287/

    I hope other experts can give you better suggestions.

    Thanks

    ZHU

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans