You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tikesavage thank you for logging this issue. Please upgrade to the latest SDK version 2.25.0 and use Get-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId <Your id> as per the documentation here to get to that object.
Describe the bug
when using either cmdlet there is not value returned. but the graph API call works fine
Get-MgServicePrincipa nor Get-MgServicePrincipalAppRoleAssignment return values for AppRoleAssignedTo
Expected behavior
expected behavior is to return the values that are returned using the graph api call, principalDisplayName and ID
https://graph.microsoft.com/beta/servicePrincipals/{APPID}/appRoleAssignedTo
How to reproduce
oduleType Version PreRelease Name ExportedCommands
Script 2.8.0 Microsoft.Graph.Applications {Add-MgApplicationKey, Add-MgApplicationPassword, Add-MgServicePrincipalKey, Add-MgServicePrincipalPassword…}
Get-MgServicePrincipal -Filter "displayName eq 'Xtra Chef'" | fl
AccountEnabled : True
AddIns : {}
AlternativeNames : {}
AppDescription :
AppDisplayName : Xtra Chef
AppId : REDACTED
AppManagementPolicies :
AppOwnerOrganizationId : REDACTED
AppRoleAssignedTo :
Get-MgServicePrincipalAppRoleAssignment -ServicePrincipalId "APP_ID_HERE"
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: