Skip to content

Commit e2cecca

Browse files
Update ActiveDirectoryClient.cs
1 parent 52c268a commit e2cecca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Graph.Rbac/Version1_6.20190326/ActiveDirectory/ActiveDirectoryClient.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,11 @@ public PSADApplication GetApplication(Guid applicationObjectId)
780780
return GraphClient.Applications.Get(applicationObjectId.ToString()).ToPSADApplication();
781781
}
782782

783+
public string GetServicePrincipalsIdByAppId(Guid applicationId)
784+
{
785+
return GraphClient.Applications.GetServicePrincipalsIdByAppId(applicationId.ToString())?.Value;
786+
}
787+
783788
public IEnumerable<PSADApplication> GetApplicationWithFilters(Rest.Azure.OData.ODataQuery<Application> odataQueryFilter, ulong first = ulong.MaxValue, ulong skip = 0)
784789
{
785790
return new GenericPageEnumerable<Application>(

0 commit comments

Comments
 (0)