I’m getting into Azure a little bit, and have been through their tutorials here. This, however, seems like it’s only good for a string query to the HTTPTrigger. I’m wondering if there is a way to do something like: I’m not too familiar with how Azure functions work, or if this is even possible with their framework (or at all
Tag: azure
Assign a manager to a user using Microsoft Python SDK for Azure
Ok MS Graph/Python Gurus. How do I populate (assign a manager) to a user via the Azure Python SDK? If there is a way can you point me to it. I went as far as looking through the Python SDK source and I cannot find a solution. Answer How do I populate (assign a manager) to a user via the
Listen for Microsoft.Storage.BlobCreated event using python
I need to monitor Azure Blob Storage and check if a blob is created in Python. In Logic Apps, this is how it looks: Can you help me out and tell me how I should write this in Python? Answer One of the workarounds is to use Azure functions Blob trigger for python where you can able to retrieve the
get contents of all azure blobs via python
I want to list all the blobs in a container and then ultimately store each blobs contents (each blob stores a csv file) into a data frame, it appears that the blob service client is the easiest way to list all the blobs, and this is what I have: However, in the last version of blob storage client there appears
Return PDF in Azure Function via HttpResponse (PyPDF2)
I created an Azure Function that writes user data into specific fields of a pdf and returns that pdf as a response to the client. However, I always get a 500 error code, even though all the steps up until the last seem to work just fine and it also runs locally without issue. Here’s my init.py: I can return
azure python SDK retrieve backup items from recoverservices(backup)
I was told to move my bash script that reports on VM backup status, also reports VMs that are not being backed up to Azure automation account. I picked python since Automation Account doesn’t have bash and I have done python scripts before for system admin purposes. I am not a python developer, and I need help navigate Azure python
Unable To Run AzureML Experiment with SDK – Failed to Build Wheel for pynacl / Exit status:1
I am trying to run a AzureML Experiment using sdk (following a Udemy course). When I try to use the Experiment.submit function the experiment prepares and then fails with the following error messages: The Azure env as created within my anaconda navigator for a short period of time and then gets removed. Does anyone know how I can get around
Why do I only receive 1 row of data after converting json to dataframe in python?
My script- Out: I tried- But i only receive 1 row of data. I have about 300 rows.Why does it not capture all? Do I have to add something to the append item function? Answer Thank you, Tranbi and Joe Tha. Adding gist of conversation as a community wiki answer to help other community members. Instead of this code: Try
Azure DevOps: How to download a file from git using REST API?
Following the example here: https://learn.microsoft.com/en-us/rest/api/azure/devops/git/items/get?view=azure-devops-rest-6.1 I can query a dev ops organization and get a response like so: How can I use Python to, I guess, download that url? The file should be an XML file. I want to read (download) it directly from Python. If I take the url returned above and insert it into yet another GET request,
Why Can’t I Add Azure DB Extension on Mac?
I am following this guide: https://learn.microsoft.com/en-us/azure/app-service/tutorial-python-postgresql-app?tabs=bash%2Cclone&pivots=postgres-single-server After successfully completing Step 1 and Step 2, I get to Step 3: “Install the db-up extension for the Azure CLI: az extension add –name db-up” Yet, when I run this command, I receive the following output: Any ideas here? I’ve tried some of the solutions to similar errors I’ve found on Stack/GitHub, but