Hi,
I am not aware of any dashboard in Azure DevOps that gives this overview across several organizations, only on individual project and repository level (in Files - Health and usage).
However, you should be able to get this data by calling Azure DevOps REST API, for example by using PowerShell.
The example below collects it for a single project but by using loops (an inner loop for all projects within a single org and an outer loop to query all ADO organizations) you should get a good output:
$organization = "your_organization"
$project = "your_project"
$pat = "your_personal_access_token"
$uri = "https://dev.azure.com/$organization/$project/_apis/git/repositories?api-version=6.0"
$headers = @{
Authorization = "Basic " + [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(":$pat"))
}
$response = Invoke-RestMethod -Uri $uri -Method Get -Headers $headers
$repositories = $response.value
$totalSize = 0
foreach ($repo in $repositories) {
$repoUri = "https://dev.azure.com/$organization/$project/_apis/git/repositories/$($repo.id)/stats?api-version=6.0"
$repoResponse = Invoke-RestMethod -Uri $repoUri -Method Get -Headers $headers
$totalSize += $repoResponse.size
}
Write-Output "Total size of all repositories: $totalSize bytes"
Apart from using Invoke-RestMethod
cmdlet, there is a module available in the PowerShell Gallery that could help as well - VSTeam - with Get-VSTeamGitRepository
cmdlet.