skip to Main Content

How to set Environment Variable for Azure Service Fabric application through Azure DevOps pipelines

Our team has a Service Fabric application that has an environment variable defined in the ServiceManifest.xml file called connectionString <!-- Code package is your service executable. --> <CodePackage Name="Code" Version="1.0.0"> <EntryPoint> <ExeHost> <Program>myMMAPI.exe</Program> <WorkingFolder>CodePackage</WorkingFolder> </ExeHost> </EntryPoint> <EnvironmentVariables> <EnvironmentVariable Name="ASPNETCORE_ENVIRONMENT" Value=""/>…

VIEW QUESTION

Azure – Can't Create Blob Container: This request is not authorized to perform this operation

I'm trying to create a blob container within an Azure storage account with Azure's Python API. def create_storage_container(storageAccountName: str, containerName: str): print( f"Creating storage container '{containerName}'", f"in storage account '{storageAccountName}'" ) credentials = DefaultAzureCredential() url = f"https://{storageAccountName}.blob.core.windows.net" blobClient = BlobServiceClient(account_url=url,…

VIEW QUESTION
Back To Top
Search