{"id":14980395,"url":"https://github.com/martins-vds/poc-azure-devops-api-automation","last_synced_at":"2026-03-09T03:33:56.097Z","repository":{"id":241526829,"uuid":"696503514","full_name":"martins-vds/poc-azure-devops-api-automation","owner":"martins-vds","description":"This project is a Proof of Concept (PoC) to automate the Azure DevOps API using OAuth2.0 authentication with client credentials flow and Postman.","archived":false,"fork":false,"pushed_at":"2023-09-27T17:54:30.000Z","size":14,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T09:46:54.441Z","etag":null,"topics":["azure-ad","azure-devops-api","microsoft-graph-sdk","oauth2","postman","postman-collection","powershell-core"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/martins-vds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-25T21:56:45.000Z","updated_at":"2023-09-27T17:57:02.000Z","dependencies_parsed_at":"2024-05-28T22:16:41.391Z","dependency_job_id":"956fd425-4636-4d26-bb20-0a4c02f4f34b","html_url":"https://github.com/martins-vds/poc-azure-devops-api-automation","commit_stats":null,"previous_names":["martins-vds/poc-azure-devops-api-automation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/martins-vds/poc-azure-devops-api-automation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martins-vds%2Fpoc-azure-devops-api-automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martins-vds%2Fpoc-azure-devops-api-automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martins-vds%2Fpoc-azure-devops-api-automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martins-vds%2Fpoc-azure-devops-api-automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martins-vds","download_url":"https://codeload.github.com/martins-vds/poc-azure-devops-api-automation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martins-vds%2Fpoc-azure-devops-api-automation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30281536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-ad","azure-devops-api","microsoft-graph-sdk","oauth2","postman","postman-collection","powershell-core"],"created_at":"2024-09-24T14:01:42.410Z","updated_at":"2026-03-09T03:33:56.073Z","avatar_url":"https://github.com/martins-vds.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PoC - Azure DevOps Api Automation\n\n## Table of Contents\n\n- [PoC - Azure DevOps Api Automation](#poc---azure-devops-api-automation)\n  - [Table of Contents](#table-of-contents)\n  - [Disclaimer](#disclaimer)\n  - [Description](#description)\n  - [Pre-requisites](#pre-requisites)\n  - [How to use](#how-to-use)\n\n## Disclaimer\n\nThis project is a Proof of Concept (PoC) and is not intended to be used in production environments. The code is provided as-is with no warranties and it is the responsibility of the user to test and validate the code before using it in a production environment.\n\n## Description\n\nThis project is a Proof of Concept (PoC) to automate the Azure DevOps API using OAuth2.0 authentication with client credentials flow and Postman.\n\n## Pre-requisites\n\n- [Postman](https://www.postman.com/downloads/)\n- [PowerShell 7.3](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.3)\n- [Microsoft Graph PowerShell SDK](https://docs.microsoft.com/en-us/graph/powershell/installation)\n\n## How to use\n\n1. Clone this repository\n2. Open the PowerShell 7.3 and the script below:\n\n    ```powershell\n        Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process\n        .\\Setup-POC.ps1 -TenantId \"\u003cTenantId\u003e\" -AppName \"\u003cAppName\u003e\"\n    ```\n\n    Replace the parameters with the appropriate values:\n\n    - **TenantId**: Azure AD Tenant Id\n    - **AppName**: Azure AD Application Name to be created\n\n    The script will ask for a certificate password so a self-signed X509 certificate can be created and exported to the current directory. An Azure AD Application will be created with that certificate as credential.\n\n    The script will also create in the current directory a Postman collection with the appropriate values to be used in step 4. The collection file will have the same name as the Azure AD Application.\n\n3. Go to your Azure DevOps Organization and add as a user the Azure AD application created in the previous step. For that, go to `Organization Settings` \u003e `Users` \u003e `Add users` \u003e `Search for the Azure AD Application`. Keep the access level as `Basic`, select the appropriate projects you want to give access to, uncheck the box `Send email invites (to Users only)` and click on `Add`.\n\n4. Open the Postman and import the collection created in the step 2. To do that, click on `Import` \u003e `Files` and select the collection file.\n\n5. Run the collection and check the results\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartins-vds%2Fpoc-azure-devops-api-automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartins-vds%2Fpoc-azure-devops-api-automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartins-vds%2Fpoc-azure-devops-api-automation/lists"}