Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pipeline 'azure-functions-deploy' failing because it can't find resource group Edited

I am using the pipeline configuration below in order to deploy an azure function to a tenant. 


However, when activating the manual deployment step, i am continuously getting the following error:

✖ Could not get the resource group associated with function xxxx-dlt-tst-rg.


I have looked at the answer provided by the other user who had the same problem here ( but this isn't so in my case, since the service principal which i created only has access to one subscription. 


Any clue as to what the issue could be would be great!

: microsoft/dotnet:sdk pipelines: default: - step: name: Build caches: - dotnetcore script: - export PROJECT_NAME=myproj.csproj - apt-get update - apt-get install -y zip - dotnet restore - dotnet build $PROJECT_NAME -c Release -o ./bin
- cd ./bin - zip ../ artifacts: - - step: deployment: staging name: Deploy zip (Staging) trigger: manual script: - export DATE=$(date +%Y%m%d%H%M) - mv $ - export FILENAME=$DATE'.zip' - ls - echo $FILENAME - pipe: microsoft/azure-functions-deploy:1.0.0 variables: AZURE_APP_ID: $AZURE_APP_ID AZURE_PASSWORD: $AZURE_PASSWORD AZURE_TENANT_ID: $AZURE_TENANT_ID ZIP_FILE: $FILENAME FUNCTION_APP_NAME: $FUNCTION_APP_NAME DEBUG: $true


1 answer

1 accepted

0 votes
Answer accepted

This was a case of me being overwhelmingly silly. My variable for the FUNCTION_APP_NAME was incorrect!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

3,850 views 68 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you