28 references to GetGuid
Aspire.Deployment.EndToEnd.Tests (27)
AzureEntraIdAppRoleDeploymentTests.cs (12)
210
var applicationId = application.GetProperty("appId").
GetGuid
();
216
$"https://graph.microsoft.com/v1.0/applications/{application.GetProperty("id").
GetGuid
():D}/federatedIdentityCredentials",
223
resource => resource.GetProperty("appRoles").EnumerateArray().Any(r => r.GetProperty("id").
GetGuid
() == role.GetProperty("id").
GetGuid
()),
225
var principalId = principal.GetProperty("id").
GetGuid
();
244
var identityPrincipalId = identity.GetProperty("principalId").
GetGuid
();
246
.Where(a => a.GetProperty("principalId").
GetGuid
() == identityPrincipalId).ToArray();
254
Assert.Equal(role.GetProperty("id").
GetGuid
(), assignment.GetProperty("appRoleId").
GetGuid
());
255
Assert.Equal(principalId, assignment.GetProperty("resourceId").
GetGuid
());
266
.Select(a => $"{a.GetProperty("principalId").
GetGuid
():D}/{a.GetProperty("appRoleId").
GetGuid
():D}/{a.GetProperty("id").GetString()}")
AzureEntraIdDeploymentTests.cs (4)
120
var clientId = application.GetProperty("appId").
GetGuid
();
123
resource => resource.GetProperty("appId").
GetGuid
() == clientId
151
return (application.GetProperty("id").
GetGuid
(), clientId, principal.GetProperty("id").
GetGuid
());
AzureEntraIdStarterDeploymentTests.cs (9)
105
var apiClientId = apiApplication.GetProperty("appId").
GetGuid
();
112
var scopeId = scope.GetProperty("id").
GetGuid
();
123
var webClientId = webApplication.GetProperty("appId").
GetGuid
();
124
var webObjectId = webApplication.GetProperty("id").
GetGuid
();
130
Assert.Equal(apiClientId, required.GetProperty("resourceAppId").
GetGuid
());
132
Assert.Equal(scopeId, access.GetProperty("id").
GetGuid
());
139
resource => resource.GetProperty("appId").
GetGuid
() == clientId
151
var identityClientId = identity.GetProperty("properties").GetProperty("clientId").
GetGuid
();
152
var identityPrincipalId = identity.GetProperty("properties").GetProperty("principalId").
GetGuid
();
Helpers\EntraDeploymentHelpers.cs (2)
276
var clientId = application.RootElement.GetProperty("appId").
GetGuid
();
277
var objectId = application.RootElement.GetProperty("id").
GetGuid
();
Microsoft.TestPlatform.CommunicationUtilities (1)
Serialization\TestSessionInfoConverter.cs (1)
31
? idProp.
GetGuid
()