-
Notifications
You must be signed in to change notification settings - Fork 211
Description
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"
- no output at all. no error.
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_