Matthew The Terrible
Matthew The Terrible

Reputation: 1643

Azure Devops - Get Org ID

I'm building an extension where I'm going to need some uniquely identifiable information about an org across all the installations of the extension. Is there an available API I can use to identify an organization? Preferably an ID.

is SDK.getHost().id the org id?

Upvotes: 3

Views: 6410

Answers (1)

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31063

The id is unique GUID for the org. You could also get host URL, which is also uniquely identifiable information, check this link:

https://github.com/microsoft/azure-devops-extension-sdk/issues/28

Upvotes: 2

Related Questions