microsoftgraph / microsoftgraph/msgraph-sdk-powershell
Get-MgBetaTeamworkDeviceHealth & "Get-MgBetaTeamworkDevice" cmdlets output is incomplete
@timayabi2020 is already working on this.
Since Apr 25, 2024.
- Dominant language
- C#
- Stars
- 898
- Forks
- 230
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 31
Description
When I run the below cmdlet, the output is incomplete
Get-MgBetaTeamworkDeviceHealth -TeamworkDeviceId cfdfjh7t-0000-9999-c12c-cdb9cc5xxxxx | fl
Out put I get for the above cmdlet
Connection : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphTeamworkConnection
CreatedBy : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphIdentitySet
CreatedDateTime : 1/1/0001 12:00:00 AM
HardwareHealth : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphTeamworkHardwareHealth
Id : cfdfjh7t-0000-9999-c12c-cdb9cc5xxxxx
LastModifiedBy : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphIdentitySet
LastModifiedDateTime : 2/2/2024 2:35:12 PM
LoginStatus : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphTeamworkLoginStatus
PeripheralsHealth : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphTeamworkPeripheralsHealth
SoftwareUpdateHealth : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphTeamworkSoftwareUpdateHealth
AdditionalProperties : {[@odata.context, https://graph.microsoft.com/beta/$metadata#teamwork/devices('cfdfjh7t-0000-9999-c12c-cdb9cc5xxxxx')/health/$entity]}
Expected Output : We have to see the information for the below items too.
Connection
CreatedBy
HardwareHealth
LoginStatus
LastModifiedBy
Loginstatus
Peripherals Health
SoftwareUpdateHealth
Same behavior for the below cmdlet
Get-MgBetaTeamworkDevice -TeamworkDeviceId cfdfjh7t-0000-9999-c12c-cdb9cc5xxxxx | fl
Activity : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphTeamworkDeviceActivity
ActivityState : unknown
CompanyAssetTag :
Configuration : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphTeamworkDeviceConfiguration
CreatedBy : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphIdentitySet
CreatedDateTime : 12/21/2023 8:33:25 PM
CurrentUser : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphTeamworkUserIdentity
DeviceType : collaborationBar
HardwareDetail : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphTeamworkHardwareDetail
Health : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphTeamworkDeviceHealth
HealthStatus : nonUrgent
Id : cfdfjh7t-0000-9999-c12c-cdb9cc5xxxxx
LastModifiedBy : Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphIdentitySet
LastModifiedDateTime : 2/29/2024 3:55:31 PM
Notes :
Operations :
AdditionalProperties : {[@odata.context, https://graph.microsoft.com/beta/$metadata#teamwork/devices/$entity]}
From the above output, the below listed items are showing the desired information
Configuration
CreatedBy
CurrentUser
HardwareDetail
Health
LastModifiedBy
AdditionalProperties
Regards,
Sunil
Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:
- Make sure you can reproduce this issue using the latest released version of Microsoft.Graph or Microsoft.Graph.Beta.
- Please search the existing issues to see if there has been a similar issue filed.
- For issues related to authentication and service errors, please refer to our troubleshooting guide. For service issues, please open a question at https://developer.microsoft.com/graph/support.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Execute
-Mg-with... - See error at
...
Expected behavior
A clear and concise description of what you expected to happen.
Debug Output
Run the problematic command with
-Debugand paste the resulting debug stream below.
⚠ ATTENTION: Be sure to remove any sensitive information that may be in the logs.
Module Version
Please run
Get-Module Microsoft.Graph*after cmdlet execution and paste the output below.
If a module cannot be installed or imported, please runGet-Module -ListAvailableand paste the output.
Environment Data
Please run
$PSVersionTableand paste the output below. If running the Docker container image, indicate the tag of the image used and the version of Docker engine.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.