An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
Hello Pavan Kesamreddy,
We understand that you are deploying a managed application from the Azure Service Catalog and encountering the error: DeploymentScriptOperationFailed with the message "Encountered an internal server error". This indicates that the deployment script tied to the managed app failed, but the error message is generic and doesn’t expose the actual server-side logs.
Managed applications are designed so that the publisher controls the underlying resources. As a consumer, you only see what the deployment script outputs. Direct server logs are not exposed for security and isolation reasons. Instead, Azure surfaces deployment diagnostics through resources like Microsoft.Resources/deploymentScripts, activity logs, and linked storage accounts.
You can check the Deployment Script resource:
- Navigate to the Resource Group where the managed app is being deployed.
- Look for a resource of type
deploymentScripts. - Open it and check:
- Logs tab > shows execution logs.
- Outputs tab > shows script outputs.
This is usually where you’ll see the actual PowerShell or Bash error message that caused the failure. Storage Account Logs (stdout / stderr)
If the deployment script was configured with a storage account:
- Open the linked Storage Account > Go to Containers.
- Look for containers like:
azscriptsordeployment-script-logs - Inside, open files such as:
stdout.txtorstderr.txt
These files contain the raw script output and error messages.
Deployment Details in Resource Group
- Open the Resource Group > Go to Deployments.
- Select the failed deployment.
Expand Operation details.
This shows which step or script failed, often with more context.
Activity Log (Azure Monitor)
- Go to Monitor > Activity Log.
- Filter by: Time range, Resource Group or Correlation ID
Helpful for identifying permission or identity-related issues that may have blocked the script.
Reference:
Deploy a service catalog managed application - Azure Managed Applications | Microsoft Learn
Troubleshoot common Azure deployment errors - Azure Resource Manager | Microsoft Learn
Hope this helps! If you need any further assistance, please do let us know, thanks.