Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-MgSiteListItem (v2.25.0) does not return values for fields of type Number #3123

Open
bgergoe opened this issue Feb 13, 2025 · 1 comment
Labels

Comments

@bgergoe
Copy link

bgergoe commented Feb 13, 2025

Describe the bug

Get-MgSiteListItem returns all field values, but for fields of number type it shows as blank.
Tested with multiple lists, multiple fields.

Expected behavior

Number values are returned as well.

How to reproduce

(Get-MgSiteListItem -ListId {List ID} -SiteId {Site ID} -ListItemId {Item ID}).Fields.AdditionalProperties | Format-List
Use a list that has fields of number type.

Tried the same with a regular Graph API http request, it works, only broken in PowerShell
https://graph.microsoft.com/v1.0/sites/{SiteID}/lists/{ListID}/items/{ItemID}?$expand=fields

SDK Version

2.25.0

Latest version known to work for scenario above?

No response

Known Workarounds

none

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_
@bgergoe bgergoe added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Feb 13, 2025
@timayabi2020 timayabi2020 added Status: Needs Investigation and removed status:waiting-for-triage An issue that is yet to be reviewed or assigned labels Feb 13, 2025
@bgergoe
Copy link
Author

bgergoe commented Feb 17, 2025

Just noticed that I'm not the only one having this issue:
#1126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants