{"id":20338547,"url":"https://github.com/caseywatson/automatedhcmsetup","last_synced_at":"2026-06-12T16:32:15.068Z","repository":{"id":55466866,"uuid":"318626004","full_name":"caseywatson/AutomatedHcmSetup","owner":"caseywatson","description":null,"archived":false,"fork":false,"pushed_at":"2020-12-29T07:06:34.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T13:39:34.527Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caseywatson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-04T20:18:19.000Z","updated_at":"2020-12-29T07:06:36.000Z","dependencies_parsed_at":"2022-08-15T01:00:50.023Z","dependency_job_id":null,"html_url":"https://github.com/caseywatson/AutomatedHcmSetup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/caseywatson/AutomatedHcmSetup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseywatson%2FAutomatedHcmSetup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseywatson%2FAutomatedHcmSetup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseywatson%2FAutomatedHcmSetup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseywatson%2FAutomatedHcmSetup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caseywatson","download_url":"https://codeload.github.com/caseywatson/AutomatedHcmSetup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseywatson%2FAutomatedHcmSetup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34253930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-14T21:13:29.651Z","updated_at":"2026-06-12T16:32:15.051Z","avatar_url":"https://github.com/caseywatson.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure hybrid connection automated setup\n\n\u003e Code is as-is, no warranties, etc.\n\nThe script automates the provisioning of a new Azure [hybrid connection](https://docs.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections) including —\n\n* Creation of a [service bus relay](https://docs.microsoft.com/en-us/azure/azure-relay/relay-what-is-it) namespace and hybrid connection.\n* Configuration of an existing Azure web app to use the newly created connection.\n\n## Usage\n\n1. Navigate to the [Azure portal](https://portal.azure.com).\n2. Open the [cloud shell](https://docs.microsoft.com/en-us/azure/cloud-shell/quickstart).\n      * When prompted, be sure to select __Bash__, not __Powershell__.\n3. Clone this repository within the cloud shell.\n      * `git clone https://github.com/caseywatson/AutomatedHcmSetup.git`\n4. Navigate to the cloned repository's directory.\n      * `cd AutomatedHcmSetup`\n5. Allow the script to be executed.\n      * `chmod +x ./create-hc.sh`\n6. Run the script. Refer to the table below for more information on using script parameters. \n      * `./create-hc.sh -g \u003cresource group name\u003e -w \u003cweb app name\u003e -n \u003cconnection name\u003e -e \u003cconnection endpoint\u003e`\n      \n| Parameter | Flag | Description |\n| --------- | ---- | ----------- |\n| __Resource group name__ | `-g` | The name of the resource group in which the relay and connection will be deployed. This must be the same resource group that the web app (`-w`) is deployed to. |\n| __Web app name__ | `-w` | The name of the Azure web app that the hybrid connection should be assigned to. This web app must already exist in the resource group provided through the __resource group name__ (`-g`) parameter. |\n| __Connection name__ | `-n` | The name of the hybrid connection. All related resources created by this script will be prefixed with this identifier. |\n| __Connection endpoint__ | `-e` | The hybrid connection endpoint (including host name and port) as defined in [this article](https://docs.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections#how-it-works). |\n\n\u003e __Tip__: Want to run this script as part of an automated pipeline? Include the `-q` flag to run this script quietly. The only script output will be the HCM connection string which can be redirected to a file or collected as part of an automated deployment tool like [Azure Pipelines](https://azure.microsoft.com/en-us/services/devops/pipelines/). _Happy Holidays, Manish._ 🎁😉\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaseywatson%2Fautomatedhcmsetup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaseywatson%2Fautomatedhcmsetup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaseywatson%2Fautomatedhcmsetup/lists"}