Home

Azure Resource Group Deployment using Release Pipeline taking too much long and never completed

%3CLINGO-SUB%20id%3D%22lingo-sub-570716%22%20slang%3D%22en-US%22%3EAzure%20Resource%20Group%20Deployment%20using%20Release%20Pipeline%20taking%20too%20much%20long%20and%20never%20completed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-570716%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20configured%20the%20Release%20pipeline%20to%20install%20the%20azure%20resources%20includes%20Keyvault%2C%20App%20services%2C%20cosmosDB.%20Sometime%20it%20works%2C%20sometimes%20it%20takes%20too%20much%20long.%20I%20have%20deleted%20the%20all%20resource%20tried%20it%20worked..%20but%20problem%20is%20intermittent.%20There%20is%20no%20errors%20can%20see%20anywhere..%20how%20to%20troubleshoot%20the%20issue%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-570716%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-570923%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Resource%20Group%20Deployment%20using%20Release%20Pipeline%20taking%20too%20much%20long%20and%20never%20completed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-570923%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F342692%22%20target%3D%22_blank%22%3E%40sarape%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20%23ffffff%3B%20color%3A%20%23000000%3B%20font-family%3A%20az_ea_font%2C'Segoe%20UI'%2Cwf_segoe-ui_normal%2C'Segoe%20WP'%2CTahoma%2CArial%2Csans-serif%3B%20font-size%3A%20100%25%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3E%7B%20%22id%22%3A%20%22%2Fsubscriptions%2F8787b32c-9907-4a8f-9fca-dd14d49e02de%2FresourceGroups%2FDocsFeedback-INT%2Fproviders%2FMicrosoft.Resources%2Fdeployments%2Fazuredeploy-20190515-192235-cf22%2Foperations%2F5F8F79CF9C7E2EDD%22%2C%20%22operationId%22%3A%20%225F8F79CF9C7E2EDD%22%2C%20%22properties%22%3A%20%7B%20%22provisioningOperation%22%3A%20%22Create%22%2C%20%22provisioningState%22%3A%20%22Running%22%2C%20%22timestamp%22%3A%20%222019-05-15T19%3A47%3A27.8955355Z%22%2C%20%22duration%22%3A%20%22PT24M47.2859709S%22%2C%20%22trackingId%22%3A%20%225270f810-5b60-4bec-aace-420983cb4d09%22%2C%20%22serviceRequestId%22%3A%20%223f2d0c19-0dac-417b-b44a-00e608aab195%22%2C%20%22statusCode%22%3A%20%22BadGateway%22%2C%20%22statusMessage%22%3A%20%7B%20%22code%22%3A%20%22Forbidden%22%2C%20%22message%22%3A%20%22Message%3A%20%7B%5C%22code%5C%22%3A%5C%22Forbidden%5C%22%2C%5C%22message%5C%22%3A%5C%22Message%3A%20%7B%5C%5C%5C%22Errors%5C%5C%5C%22%3A%5B%5C%5C%5C%22DataBase%20SharedOffer%20is%20Disabled%20for%20your%20account%2C%20for%20further%20queries%20please%20contact%20support.%5C%5C%5C%22%5D%7D%5C%5Cr%5C%5CnActivityId%3A%202bd7c8bf-e42d-446b-991e-95e2c8123a82%2C%20Request%20URI%3A%20%2Fapps%2Fb0a61219-2d02-47c5-8451-59463ee5a1fd%2Fservices%2F4f890963-cec4-422d-aa4b-42a43ae7ffb9%2Fpartitions%2Fa0de0388-770f-4d78-9bd4-56140d85e75d%2Freplicas%2F132024111124424376p%2C%20RequestStats%3A%20%2C%20SDK%3A%20Microsoft.Azure.Documents.Common%2F2.2.0.0%5C%22%7D%2C%20Request%20URI%3A%20%2Fdbs%2C%20RequestStats%3A%20%2C%20SDK%3A%20Microsoft.Azure.Documents.Common%2F2.2.0.0%2C%20Microsoft.Azure.Documents.Common%2F2.2.0.0%2C%20Microsoft.Azure.Documents.Common%2F2.2.0.0%2C%20Microsoft.Azure.Documents.Common%2F2.2.0.0%2C%20Microsoft.Azure.Documents.Common%2F2.2.0.0%5Cr%5CnActivityId%3A%20fbd4a092-37b0-4cd3-a01a-0518bd4fd9aa%2C%20Microsoft.Azure.Documents.Common%2F2.2.0.0%22%20%7D%2C%20%22targetResource%22%3A%20%7B%20%22id%22%3A%20%22%2Fsubscriptions%2F8787b32c-9907-4a8f-9fca-dd14d49e02de%2FresourceGroups%2FDocsFeedback-INT%2Fproviders%2FMicrosoft.DocumentDB%2FdatabaseAccounts%2Fdocsfeedbackservice-int%2Fapis%2Fsql%2Fdatabases%2Ffeedback%22%2C%20%22resourceType%22%3A%20%22Microsoft.DocumentDB%2FdatabaseAccounts%2Fapis%2Fdatabases%22%2C%20%22resourceName%22%3A%20%22docsfeedbackservice-int%2Fsql%2Ffeedback%22%20%7D%2C%20%22request%22%3A%20%7B%20%22content%22%3A%20%7B%20%22properties%22%3A%20%7B%20%22resource%22%3A%20%7B%20%22id%22%3A%20%22feedback%22%20%7D%2C%20%22options%22%3A%20%7B%20%22throughput%22%3A%20400%20%7D%20%7D%20%7D%20%7D%2C%20%22response%22%3A%20%7B%20%22content%22%3A%20%7B%20%22code%22%3A%20%22Forbidden%22%2C%20%22message%22%3A%20%22Message%3A%20%7B%5C%22code%5C%22%3A%5C%22Forbidden%5C%22%2C%5C%22message%5C%22%3A%5C%22Message%3A%20%7B%5C%5C%5C%22Errors%5C%5C%5C%22%3A%5B%5C%5C%5C%22DataBase%20SharedOffer%20is%20Disabled%20for%20your%20account%2C%20for%20further%20queries%20please%20contact%20support.%5C%5C%5C%22%5D%7D%5C%5Cr%5C%5CnActivityId%3A%202bd7c8bf-e42d-446b-991e-95e2c8123a82%2C%20Request%20URI%3A%20%2Fapps%2Fb0a61219-2d02-47c5-8451-59463ee5a1fd%2Fservices%2F4f890963-cec4-422d-aa4b-42a43ae7ffb9%2Fpartitions%2Fa0de0388-770f-4d78-9bd4-56140d85e75d%2Freplicas%2F132024111124424376p%2C%20RequestStats%3A%20%2C%20SDK%3A%20Microsoft.Azure.Documents.Common%2F2.2.0.0%5C%22%7D%2C%20Request%20URI%3A%20%2Fdbs%2C%20RequestStats%3A%20%2C%20SDK%3A%20Microsoft.Azure.Documents.Common%2F2.2.0.0%2C%20Microsoft.Azure.Documents.Common%2F2.2.0.0%2C%20Microsoft.Azure.Documents.Common%2F2.2.0.0%2C%20Microsoft.Azure.Documents.Common%2F2.2.0.0%2C%20Microsoft.Azure.Documents.Common%2F2.2.0.0%5Cr%5CnActivityId%3A%20fbd4a092-37b0-4cd3-a01a-0518bd4fd9aa%2C%20Microsoft.Azure.Documents.Common%2F2.2.0.0%22%20%7D%20%7D%20%7D%7D%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F342692%22%20target%3D%22_blank%22%3E%40sarape%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3E%3CP%3EI%20have%20configured%20the%20Release%20pipeline%20to%20install%20the%20azure%20resources%20includes%20Keyvault%2C%20App%20services%2C%20cosmosDB.%20Sometime%20it%20works%2C%20sometimes%20it%20takes%20too%20much%20long.%20I%20have%20deleted%20the%20all%20resource%20tried%20it%20worked..%20but%20problem%20is%20intermittent.%20There%20is%20no%20errors%20can%20see%20anywhere..%20how%20to%20troubleshoot%20the%20issue%3F%3C%2FP%3E%0A%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-572744%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Resource%20Group%20Deployment%20using%20Release%20Pipeline%20taking%20too%20much%20long%20and%20never%20completed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-572744%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F342692%22%20target%3D%22_blank%22%3E%40sarape%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20writes%20its%20logs%20to%20a%20logs%20table%20called%20AzureActivity%2C%20you%20can%20see%20this%20from%20most%20Azure%20blades%20-%20look%20for%20%22%3CSTRONG%3EActivity%20Log%3C%2FSTRONG%3E%22.%26nbsp%3B%20%26nbsp%3BYou%20should%20see%20success%2Ffailure%20etc...%20messages.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20845px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F113684i29D7D6D516226664%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Annotation%202019-05-16%20081502.jpg%22%20title%3D%22Annotation%202019-05-16%20081502.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20particular%20forum%20is%20for%20Log%20Analytics%2C%20so%20in%20that%20query%20language%20we'd%20search%20for%20the%20same%20messages%20you%20see%20in%20the%20portal%2C%20with%20something%20like%20this.%26nbsp%3B%20You%20can%20then%20visualize%20or%20alert%20from%20them%2C%20if%20that's%20what%20you%20require%3F%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3EAzureActivity%0A%2F%2F%7C%20where%20ResourceGroup%20%3D%3D%22DocsFeedback-INT%22%0A%7C%20where%20ResourceProvider%20%3D%3D%20%22Microsoft%20Resources%22%0A%7C%20summarize%20count()%20by%20ResourceProvider%20%2C%20OperationName%2C%20OperationNameValue%2C%20ActivityStatus%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
sarape
Microsoft

I have configured the Release pipeline to install the azure resources includes Keyvault, App services, cosmosDB. Sometime it works, sometimes it takes too much long. I have deleted the all resource tried it worked.. but problem is intermittent. There is no errors can see anywhere.. how to troubleshoot the issue?

2 Replies

@sarape 

{ "id": "/subscriptions/8787b32c-9907-4a8f-9fca-dd14d49e02de/resourceGroups/DocsFeedback-INT/providers/Microsoft.Resources/deployments/azuredeploy-20190515-192235-cf22/operations/5F8F79CF9C7E2EDD", "operationId": "5F8F79CF9C7E2EDD", "properties": { "provisioningOperation": "Create", "provisioningState": "Running", "timestamp": "2019-05-15T19:47:27.8955355Z", "duration": "PT24M47.2859709S", "trackingId": "5270f810-5b60-4bec-aace-420983cb4d09", "serviceRequestId": "3f2d0c19-0dac-417b-b44a-00e608aab195", "statusCode": "BadGateway", "statusMessage": { "code": "Forbidden", "message": "Message: {\"code\":\"Forbidden\",\"message\":\"Message: {\\\"Errors\\\":[\\\"DataBase SharedOffer is Disabled for your account, for further queries please contact support.\\\"]}\\r\\nActivityId: 2bd7c8bf-e42d-446b-991e-95e2c8123a82, Request URI: /apps/b0a61219-2d02-47c5-8451-59463ee5a1fd/services/4f890963-cec4-422d-aa4b-42a43ae7ffb9/partitions/a0de0388-770f-4d78-9bd4-56140d85e75d/replicas/132024111124424376p, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.2.0.0\"}, Request URI: /dbs, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.2.0.0, Microsoft.Azure.Documents.Common/2.2.0.0, Microsoft.Azure.Documents.Common/2.2.0.0, Microsoft.Azure.Documents.Common/2.2.0.0, Microsoft.Azure.Documents.Common/2.2.0.0\r\nActivityId: fbd4a092-37b0-4cd3-a01a-0518bd4fd9aa, Microsoft.Azure.Documents.Common/2.2.0.0" }, "targetResource": { "id": "/subscriptions/8787b32c-9907-4a8f-9fca-dd14d49e02de/resourceGroups/DocsFeedback-INT/providers/Microsoft.DocumentDB/databaseAccounts/docsfeedbackservice-int/apis/sql/databases/feedback", "resourceType": "Microsoft.DocumentDB/databaseAccounts/apis/databases", "resourceName": "docsfeedbackservice-int/sql/feedback" }, "request": { "content": { "properties": { "resource": { "id": "feedback" }, "options": { "throughput": 400 } } } }, "response": { "content": { "code": "Forbidden", "message": "Message: {\"code\":\"Forbidden\",\"message\":\"Message: {\\\"Errors\\\":[\\\"DataBase SharedOffer is Disabled for your account, for further queries please contact support.\\\"]}\\r\\nActivityId: 2bd7c8bf-e42d-446b-991e-95e2c8123a82, Request URI: /apps/b0a61219-2d02-47c5-8451-59463ee5a1fd/services/4f890963-cec4-422d-aa4b-42a43ae7ffb9/partitions/a0de0388-770f-4d78-9bd4-56140d85e75d/replicas/132024111124424376p, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.2.0.0\"}, Request URI: /dbs, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.2.0.0, Microsoft.Azure.Documents.Common/2.2.0.0, Microsoft.Azure.Documents.Common/2.2.0.0, Microsoft.Azure.Documents.Common/2.2.0.0, Microsoft.Azure.Documents.Common/2.2.0.0\r\nActivityId: fbd4a092-37b0-4cd3-a01a-0518bd4fd9aa, Microsoft.Azure.Documents.Common/2.2.0.0" } } }}


@sarape wrote:

I have configured the Release pipeline to install the azure resources includes Keyvault, App services, cosmosDB. Sometime it works, sometimes it takes too much long. I have deleted the all resource tried it worked.. but problem is intermittent. There is no errors can see anywhere.. how to troubleshoot the issue?


 

Hello @sarape 

 

Azure writes its logs to a logs table called AzureActivity, you can see this from most Azure blades - look for "Activity Log".   You should see success/failure etc... messages.

Annotation 2019-05-16 081502.jpg

 

This particular forum is for Log Analytics, so in that query language we'd search for the same messages you see in the portal, with something like this.  You can then visualize or alert from them, if that's what you require? 

AzureActivity
//| where ResourceGroup =="DocsFeedback-INT"
| where ResourceProvider == "Microsoft Resources"
| summarize count() by ResourceProvider , OperationName, OperationNameValue, ActivityStatus
Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies