devops
150 TopicsHow to track the parent and child relationships within the entire hierarchy in Azure DevOps (ADO)?
I am currently facing a situation where I can track the parent-child relationship up to only two levels. Our structure consists of the following hierarchy: EPIC > FEATURE > USER STORY > TASK. At present, I can trace relationships up to two levels but need to modify my query to capture the subsequent child relationships. Could you please let me know if it is possible to track all these relationships in a single query?Solved28Views0likes2CommentsAzure DevOps - How to Publish Artifacts Using REST API in Python?
I'm struggling to implement this functionality and could use some help. Here's my setup: I'm usingYAML pipelinesin Azure DevOps. Part of the pipeline includes aPython taskwith a long and complex processing script that generates output reports. For better control, I want to add thePublish Artifacts functionality(based on some logic) directly within the Python script. So far, I have tried the following REST API calls without success. Part 1 - Works url = f"https://dev.azure.com/{organization}/{project}/_apis/build/builds/{build_id}/artifacts?artifactName={artifact_name}&api-version=7.1-preview.5" headers = { "Authorization": f"Basic {ACCESS_TOKEN}", "Accept": "application/json", "Content-Type": "application/json", } payload = { "name": artifact_name, "resource": { "type": "Container", "data": artifact_name, "properties": { "RootId": artifact_name } }, } logger.info("Creating artifact metadata...") response = requests.post(url, headers=headers, json=payload) if response.status_code == 200: logger.info("Artifact metadata created successfully.") response_json = response.json() logger.info(f"Create Pre-Payload Response: {response_json}") Part 2 - FAILS headers = { "Authorization": f"Basic {ACCESS_TOKEN}", "Content-Type": "application/octet-stream", } for artifact_file in artifact_files: if not os.path.exists(artifact_file): logger.warning(f"File {artifact_file} does not exist. Skipping.") continue # Construct the full upload URL item_path = f"{artifact_name}/{os.path.basename(artifact_file)}" upload_url = f"{container_url}?itemPath={item_path}" logger.info(f"Uploading: {artifact_file} to {upload_url}") with open(artifact_file, "rb") as f: response = requests.put(upload_url, headers=headers, data=f) if response.status_code == 201: logger.info(f"File {artifact_file} uploaded successfully.") else: logger.error(f"Failed to upload {artifact_file}: {response.status_code}, {response.text}") Part 2 returns a 404 - like the one below.. INFO:__main__:Uploading: reports/test.json to https://dev.azure.com/OrgDevOps/_apis/resources/Containers/c82916f3-4665-43bf-8927-e05a3b6492a9?itemPath=drop_v3/test.json ERROR:__main__:Failed to upload reports/test.json: 404, <!DOCTYPE html > <html> <head> <title>The controller for path '/_apis/resources/Containers/c82916f3-4665-43bf-8927-e05a3b6492a9' was not found or does not implement IController.</title> <style type="text/css">html { height: 100%; } … Any guidance or working examples would be greatly appreciated. Thanks in advance!53Views0likes2CommentsAzure Devops Pipeline for Power Platform solution : Tenant to Tenant
I have a query related to Azure Devops Pipeline. Is it possible to move form one tenant to another tenant. Is it possible to move canvas app solution using Azure Devop Pipelines. If yes, I am using Sharepoint lists. Can this be moved, as it wont be the part of solution, should it be done manually? I am also using environment variables, How will this be mapped in the receiver tenant using pipelines. I have few solutions that i need to move from one solution to another every sprint. So what will be the suitable plan/license for it. Can you please share relevant documents or steps or related videos if any regarding this.8Views0likes1CommentRun Logic app if new virtual machine is created
Hello, I'm building logic app that get triggered on resource creation event by connecting it to event grid. my goal is only to run this if new vm is created however logic app get executed on every create success event. I noticed whenever there is deletion or creation on VM the logic app get triggered. Even in the event payload there is no difference between create and delete VM. how to limit the call of logic app only if new VM is created?148Views0likes1CommentTroubleshooting Azure Function App Proxy with Private Blob Container Access for Static Web App
Recently, I shared a problem I’m facing in my testing environment with a friend. I’ve decided to bring this issue to an open forum discussion to gather additional insights. I hope you can help me figure out what might be missing in my configuration. **Context:** I’m trying to replicate a solution in my test environment but encountering difficulties in a specific scenario. **Scenario:** I have a Function App acting as a proxy for a Static Web App hosted in a Blob Container. This Blob Container is set to private access, meaning public access is disabled. **The Problem:** The goal is for my Function App to authorize users and direct them correctly to the Static Web App. However, it’s not working as expected. **What I’ve tried so far:** 1. Configured Managed Identity for the Function App and granted the necessary permissions to the Blob Container. 2. Properly set up authentication and created the App Registration, which works flawlessly. 3. Verified that the proxy functions correctly when the Blob Container’s public access is enabled. **Current behavior:** - When public access to the Blob Container is enabled, everything works fine. - When public access is disabled, even with the proxy configured, access fails, and an error message "resource not found" is returned. **My questions are:** 1. Do I need to configure something additional in the proxy definition file? 2. Is there a specific setting, like a private endpoint or something similar, that I should implement to resolve this issue? **Additional considerations:** I haven’t configured a private endpoint yet, but I’m considering whether this would be the most appropriate solution for my case. My initial expectation was that granting the necessary permissions to the Function App via Managed Identity would solve the issue, but it hasn’t. I appreciate any guidance or suggestions you can provide!26Views0likes1CommentVideo Script to Generating Video with Voiceover
Can anybody provide a step-by-step guide for a beginner user to make an app for Azure to work like Visla (https://app.visla.us/) that converts video text script to high-quality videos with Azure voiceover similar to what Visla offers?58Views0likes2CommentsAZ-104 Test
Excited to share that I passed the AZ-104 exam! 🎉 The journey wasn’t easy, but with consistent study and the right resources, I made it through. I highly recommend using practice tests to prepare—they were a game-changer for me. They help you identify weak spots and get comfortable with the exam format. Ready to take on my next certification challenge! 💪37Views0likes1Comment