Questions tagged [azure-python-sdk]
146 questions
0
votes
1 answer
Creating Azure Stream Analytics job using the python SDK gives an error
Creating Azure Stream Analytics job using the python SDK gives an error azure.core.exceptions.HttpResponseError: (BadRequest). The JSON provided in the request body is invalid. The required property 'datasource type' is missing from the…
0
votes
1 answer
Azure Function Timer Trigger never Fires
I have a python function in Azure that runs every ten minutes. Different from these similar issues that I've been looking at, or this post from Azure, my function doesn't matter what time zone it is synced to, but it never runs at all.
I assume…

billmanH
- 1,298
- 1
- 14
- 25
0
votes
1 answer
Ingest telemery data from Azure IoT Hub to Digital Twins using Python Error
I would like to send the telemetry data from the IOT hub to Azure digital twins using Python instead of C#( I don't have experience with C#), but I can't get it.
I have followed the complete example from Microsoft…

Anna
- 1
- 1
0
votes
1 answer
Azure cognitive services speech SDK Python: Beating sound using synthesis callback
Using synthesizing callback, how do we correctly stream the audio data to a file? I want to write to a file as soon as audio data happens, this is not my final intent, but if this works, I can proceed with more abilities later on.
I have to use the…

Newbie
- 1
0
votes
2 answers
Environment variables not setting up in AZURE ML - Python
we generate an environment file programtically, here is how the resultant file looks like:
FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
RUN echo "source…

Obiii
- 698
- 1
- 6
- 26
0
votes
1 answer
How to check if Azure public IP is 'associated' via Python SDK
I am trying to get a list of Public IP addresses that are not associated to any azure resource. That is 'orphaned public ip addresses'. I want to know if Azure public IP is 'associated' via Python SDK.
Using the below SDK:
from azure.mgmt.network…

Manjunath Rao
- 1,397
- 4
- 26
- 42
0
votes
1 answer
How send Asyncronous email using Azure Communication Email python sdk
I tried sending email using Azure email communication Email, it works fine until I need to implement asyncronous sending email since its used multiple time and the response is really slow
class Email(Configuration):
def __init__(self):
…

ira
- 534
- 1
- 5
- 17
0
votes
1 answer
Remove Azure Table Storage EntityProperty from TableClient.query_entities() Results Before Writing to Pandas DataFrame in Python
I'm fairly new to using Azure Table Storage and am trying to pull data from it with Python into a Pandas DataFrame. I am using TableClient .query_entities() from the azure-data-tables package, and it is returning data, but integer values are being…

HoRace
- 25
- 1
- 9
0
votes
1 answer
azure advisor sdk not giving security recommendations
I am using the azure advisor python SDK to fetch advisor recommendations. It is giving me all the recommendations other than 'security'.
When I first used the same code, it used to give me 'security' recommendation as well, but all of a sudden it…

Manjunath Rao
- 1,397
- 4
- 26
- 42
0
votes
1 answer
Create Purview scan with Python SDK with a specified scope/folderpath for an AdlsGen2 resource
I am trying to automatically deploy my Purview solution using the Python SDK using this Microsoft documentation and the documentation of the Azure SDK itself.
I want to create a scan of an AdlsGen2 resource, but instead of scanning the entire…

hello123
- 49
- 4
0
votes
2 answers
Is there an equivalent class or module for powershell AzStorageAccount in azure python SDK?
I'm currently converting Powershell scripts to python scripts using azure python SDK. Is there an equivalent class or module to AzStorageAccount to get the list of blob urls using azure python sdk? I check the library azure.mngt.storage doesn't…

RAC
- 115
- 1
- 1
- 7
0
votes
0 answers
Azure datastore upload painstakingly slow
I'm using azure ml python sdk to upload files to azure datastore, as described in here
in detail:
workspace = Workspace(
subs_id, resource_group, workspace_name
)
datastore = Datastore.get(
workspace,
…

SiloSampsa
- 1
- 1
0
votes
1 answer
Refer dataflow definition from Storage link service in azure python sdk for ADF
I am using azure pythOn SDK for ADF, I am looking to create a dataflow dynamically.
I have data flow definitions in json format available on linked storage account.
Is there a way, I can refer definition from storage account and create a…

Dhananjay
- 3,903
- 2
- 29
- 44
0
votes
1 answer
Why does generate_blob_sas() fail but generate_container_sas() works fine with the same values?
I'm stumped. I'm attempting to use generate_blob_sas() function, but for some reason, the SAS token is malformed. I'm able to use the generate_container_sas() function with the same account, account key and container names. Seems to be the addition…

ericOnline
- 1,586
- 1
- 19
- 54
0
votes
1 answer
What is the blob_name for Azure generate_blob_sas() Python SDK, when folder paths are involved?
I'd like to generate_blob_sas using the Azure Python SDK.
The blob URL looks something like this:
https://.blob.core.windows.net////.jpg
The snippet in question looks something like…

ericOnline
- 1,586
- 1
- 19
- 54