You can use Azure activity logs to find deployment errors for troubleshooting purposes. Information in these logs is available for 90 days. See Azure Documentation Center.
- From the Azure portal, select the resource group.
- Under Support + Troubleshooting, select Activity log. In the Activity Log blade, you will see a summary of recent operations for all of the resource groups in your subscription. It includes a graphical representation of the time and status of the operations, as well as a list of operations.