$returnCode -ne "202") {
    Write-Host "Create project failed - $returnCode $returnStatus" -ForegroundColor White -BackgroundColor Red
    break
}
Write-Host "Project queued ... awaiting completion ..." -ForegroundColor Blue -BackgroundColor Cyan

$method = "GET"
$listurl = "https://dev.azure.com/culater/_apis/projects?api-version=5.1-preview.4"
$resp = Invoke-RestMethod -Uri $listurl -Method $method -Headers @{Authorization = "Basic $encodedPat"}

#Wait till project is finished deploying
while (1 -eq 1)
{