{"id":27633810,"url":"https://github.com/djaus2/azuresphere","last_synced_at":"2026-01-21T07:26:35.544Z","repository":{"id":85177283,"uuid":"149841649","full_name":"djaus2/AzureSphere","owner":"djaus2","description":"2DoAzs","archived":false,"fork":false,"pushed_at":"2018-10-22T15:16:29.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T18:22:55.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/djaus2.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,"zenodo":null}},"created_at":"2018-09-22T03:24:26.000Z","updated_at":"2018-10-22T15:16:30.000Z","dependencies_parsed_at":"2023-04-06T12:17:01.796Z","dependency_job_id":null,"html_url":"https://github.com/djaus2/AzureSphere","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/djaus2/AzureSphere","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djaus2%2FAzureSphere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djaus2%2FAzureSphere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djaus2%2FAzureSphere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djaus2%2FAzureSphere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djaus2","download_url":"https://codeload.github.com/djaus2/AzureSphere/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djaus2%2FAzureSphere/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28629915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2025-04-23T18:20:11.909Z","updated_at":"2026-01-21T07:26:35.502Z","avatar_url":"https://github.com/djaus2.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Djs Azure Sphere Scripts\n\nThis documentation, like the repository itself, is a work in\nprogress.\n\nYou have an Azure Sphere and you want to get cracking with\nit ASAP! You can do so by following the documentation on docs.microsoft.com.\nThere’s quite a bit to get through and much of it is of the format: Do this\nthen do that then … . But it does seem a bit mechanical in that if, having done\nit once and had to do it again in a new environment, the actions would be\nlargely the same. So couldn’t some or a significant amount of it be automated,\nor at least scripted?\n\nThis GitHub repository contains a number of scripts, as DOS\nbatch files, that do simplify this procedure. Where user input is required a\nuser prompt for input occurs. Where the user needs to make a choice from\nexisting Azure or other resources, a numbered list is auto-generated, with\nselection being made by choosing the item number. \n\nThere are currently three main scripts:\n\n**Setup.bat** Guides you through setting up Azure CLI, AzureSphere command prompt and Active Directory.\n\n**ClaimDevice.bat**..*(It's there now)* One for setting up\nthe Active Directory Tenant for, and including \nthe device,\n\n**AzsHub.bat** One for setting up the Azure IoT Hub Device\nProvisioning Service and connecting the device to it\n\n**Nb: NOTE THAT TENANTING OF AN AZURE SPHERE DEVICE IS ONCE\nONLY ACTION, NOT UNDO-ABLE, NOT CHANGEABLE, NOT REVERSABLE. SO TAKE CARE WITH\nTHAT SCRIPT. ALL CARE BUT NO RESPONSIBILITY AT THIS END.**\n\n\n\nThere are a number of other scripts that are called by these\ntwo scripts, each with a specific function. In the main, parameters are passed\nto these from the main scripts as environment variables. All subscript results\nare passed back as environment variables that are then used by the main scripts\nas parameters to Azure calls.\n\nEach step in the two main scripts has a prompt so that you can skip the action if already done. That way if you are part way through a script you can restart it and skip to where you are up to. Also you can do a \"dummy run that way.\n\n\n\nCurrently the scripts do not address setting up the required\nActive Directory, but you are refered to the appropiate web page. I used my AD from my Office 365 subscription (ominmicrosft.com)\nfor which I use my domain name (sportronics.com.au)\n\nWhilst these scripts are DOS Batch files, it is envisaged\nthat a subsequent version with use Powershell.\n\nThe scripts require the azure CLI (Command Line Interface)\nto be installed as well as AzSphere. These are refered to in setup.bat\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjaus2%2Fazuresphere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjaus2%2Fazuresphere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjaus2%2Fazuresphere/lists"}