211 questions
0
votes
1
answer
326
views
Azure ML: What means reconnecting terminal?
I am a newbie in this, and I am facing some problems with the Azure ML workspace. I ran a python code from the terminal, and then I opened another terminal to check the process. I got the following ...
1
vote
1
answer
4k
views
Alternative approach to specify user managed identities with DefaultAzureCredential in python SDK
We are trying to authenticate DefaultAzureCredential using azure user-assigned managed identities with python SDK. The approach we see is to specify the client id as below, following the python SDK ...
0
votes
1
answer
286
views
Azure python library return web app configurations
I am trying to deep dive into azure python sdk to retrieve and control all my resources in azure, but I am having hard time to find any valid documentation on the following issue.
using this code:
...
0
votes
0
answers
438
views
How Azure Function Worker 'AzureFunctionsRpcMessages' selects its port
I am running Azure Function locally on an Ubuntu machine using VSCode Azure Function Extension.
I created a local function, which runs on the default port 7071.
When checking the the log however, I ...
0
votes
1
answer
177
views
How to convert these objects to valuable information
I have this code to list down the details of Azure Virtual Machines, but I am getting output in this form. How can I change (azure.mgmt.compute.v2019_03_01.models.storage_profile_py3) this kind of ...
1
vote
1
answer
846
views
How to check OS detailed information of Azure virtual machine using Python SDK
I have written this code to list down the Azure Virtual Machine. Now I want to print all the details related to the OS disks such as OS, disk size, encryption settings, and other details related to ...
1
vote
2
answers
5k
views
How to delete a specific document from azure search index?
I have a specific number of documents from the azure search index to be deleted and I need a solution in python for the same.
I created an index in azure search already and the format of the index is ...
0
votes
1
answer
436
views
What are valid Azure ML Workspace connection argument options?
I want to build an Azure ML environment with two python packages that I have in Azure Devops.
For this I need a workspace connection to Azure Devops. One package is published to an artifact feed and I ...
0
votes
1
answer
843
views
Uploading folders on Azure Datalake storage failed using Azure Storage Explorer and python SDK both
I am trying to upload my on-premise data on the Azure Datalake storage, the data is about 10 GB in total and divided into multiple folders. I have tried multiple ways to upload the files, the size of ...
4
votes
1
answer
2k
views
Generate Azure storage sas token with python or cli without account key
All commands in the Azure Python sdk that targets Storage seems to want the account key or a sas token.
If I'm running code in command line and have authenticated with az login or am in an AzureCli ...
1
vote
1
answer
1k
views
Azure cli authentication with BlobServiceClient
Should it be possible to use cli authentication with Azure storage?
cli_auth = AzureCliAuthentication()
blob_service_client = BlobServiceClient(account_url="https://mystorage.blob.core.windows....
0
votes
0
answers
2k
views
Python Code to run Azure Devops Pipelines
The below solution is to trigger a pipeline by providing a pipeline ID explicitly in code. But If we have 5 pipelines created and if we run python code it should run the all pipeline that we created ...
0
votes
1
answer
3k
views
How can I append JSON data to an existing JSON file stored in Azure blob storage through python?
I've been looking around the web to append data to an existing JSON file in azure storage, I also check on this post, but it didn't help. I have millions of JSON records coming in real-time which are ...
0
votes
1
answer
884
views
Copy directory in blob storage across different storage accounts
I am working on a data transfer service, which copies data in a specific directory of the container to the destination container. This service will be fed with src-container-URL with SAS token and the ...
2
votes
1
answer
1k
views
How to publish events in azure event grid to a topic in python?
Unable to import the eventgrid modules in my VS Code, I have added all the modules in requirement.txt and pip installed from my cmd.
Also, below is the python function which I am looking and trying ...
0
votes
1
answer
259
views
Unable To Generate Azure CustomerProvidedEncryptionKey (cpk)
I am attempting to move to Azure Blob Storage from AWS S3, but am facing some issues with generating the customer provided encryption key. For reference, in AWS, it is possible to have server-side ...
0
votes
0
answers
287
views
Azure function unable to send messages to topic
I am trying to solve this issue on which I don't understand fully why is not working.
I have 2 topics. TOPIC_Aon which I can send my messages and I receive them correctly. And once the message has ...
0
votes
0
answers
910
views
Azure Function App Service Bus topic ImportError module c_uamqp
I hope somebody can help me to understand what I am doing wrong with this azure function.
My idea is structure as follow.
I have 2 topics. TOPIC_A is designed to receive a message and process it and ...
0
votes
1
answer
598
views
Azure Python SDK retrieve Key Vault secret for storage account
I have the following code for a key vault to retrieve the secret and be able to use them in a storage account backup. The following code for the key vault is the following
keyvault_name = f'keyvault-...
0
votes
0
answers
46
views
Azure Python SDK storage backup fails
I am facing a problem in my script and honestly I don't know anymore where to look and/or how to solve it.
I have the following script.
# Source Client
connection_string = '' # The connection string ...
0
votes
1
answer
231
views
Azure python sdk storage table backup table Return more than 1000 rows
Hope I can get some hints about this issue.
I have written the following code, to make a table backup from one storage to another.
query_size = 100
#save data to storage2 and check if there is lefted ...
1
vote
0
answers
100
views
Azure Storage account back up loop
I hope somebody can help to understand and solve this small issue I am facing by following the best approach.
I have a huge list of storage accounts, over 54 of them. Every single storage account have ...
2
votes
2
answers
3k
views
Azure python sdk service bus receive message
I am a bit confused about the azure python servicebus.
I have a servicebus TOPIC and SUBSCRIPTION which listen to specific messages, I have the code to receive those messages which then they will be ...
0
votes
2
answers
2k
views
Azure python sdk loop over blobs
I am trying to build a backup system for storage accounts.
Just to make the example as clear as possible, this is my storage account structure
storageA:
|---container1
| |---Blob1.txt
|---...
1
vote
1
answer
1k
views
Python sdk copy blob from container to container
I hope somebody can help with this issue which is confusing me a bit.
I am trying to make a back up copy script for a storage container. What I am trying to achieve, is to copy the content of a ...