Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Deploy Azure Static Web App

Hi, any help deploy to a azure static web app? is the same as to a normal web app?

1 answer

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 12, 2021

@lprada hi. Thanks for your question. It's a good case to use Pipe: Azure CLI Deploy :

script:
  - pipe: atlassian/azure-cli-run:1.0.1
    variables:
      AZURE_APP_ID: $AZURE_APP_ID
      AZURE_PASSWORD: $AZURE_PASSWORD
      AZURE_TENANT_ID: $AZURE_TENANT_ID
      CLI_COMMAND: 'az staticwebapp <your params>'

To discover more pipes, visit our Bitbucket Pipes Marketplace.

Regards, Igor. 

Saqib Ur Rehman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Aug 24, 2023

HI @Igor Stoyanov .

I used this command in azure cli:

az ad sp create-for-rbac --name MyServicePrincipal

I added directly there values to your above mentioned script but im faced by this error.

 azureissuse.PNG

Is there any other way so that i can push my app to azure web app.

Also are we only required to send our app as zip file or only the build app. can we directly send build files or we have to send them as zip folder? 

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 28, 2023

@Saqib Ur Rehman hi. The error points you, that you dont have Azure subscription when trying to login.
Answering your question,  take a look at Azure pipes here.

Maybe this azure-web-apps-deploy pipe is what are you looking for.

Also, please, next time create a new question with your own issue instead.

Regards, Igor.

Saqib Ur Rehman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Aug 28, 2023

Thanks.
The issue was solved but i dont know why.

Our manager bought Azure subscription im added as a contributor to it. When i created a ServicePrincipal and gave it access, still the credentials were not working, But when manager created a servicePrincipal it worked. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events