powershell icon indicating copy to clipboard operation
powershell copied to clipboard

[BUG]Get-PnPUserProfileProperty

Open ttd-kevinclement opened this issue 1 year ago • 0 comments

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" -ManagedIdentity
  • Get-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.

ttd-kevinclement avatar Jul 02 '24 18:07 ttd-kevinclement