powershell
powershell copied to clipboard
[BUG]Get-PnPUserProfileProperty
Reporting an Issue or Missing Feature
Get-PnPUserProfileProperty returning unexpected results in Runbook
Expected behavior
Expecting a User Profile Properties PowerShell Object
Actual behavior
System.Collections.Generic.SortedDictionary``2[System.String,System.Object]
Steps to reproduce behavior
- Create Runbook with PowerShell 7.2 Runtime
- Import PnP.PowerShell Module
- Execute Runbook with following commands
Connect-PnPOnline -Url "xxxxx-admin.sharepoint.com"-ManagedIdentityGet-PnPUserProfileProperty -Account "[email protected]
What is the version of the Cmdlet module you are running?
PnP.PowerShell 2.4.0
Which operating system/environment are you running PnP PowerShell on?
- [ ] Windows
- [ ] Linux
- [ ] MacOS
- [ ] Azure Cloud Shell
- [ ] Azure Functions
- [ X] Other : Azure Automation Runbook
Comments
#4061 This command works as intended in our sandbox tenant, when porting to our corporate tenant it behaves as mentioned above.