microsoftgraph / microsoftgraph/msgraph-sdk-powershell

[Critical] - Microsoft.Graph.Users.Functions missing many functions

Open
#3,239 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs: Attention :wave: type:bug type:documentation
Dominant language
C#
Stars
898
Forks
230
Avg merge
2d 5h
Merged PRs (30d)
31

Description

Describe the bug

Can't use Get-MgAllUserOnlineMeetingRecording with v2.26.1
Docs here: https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.users.functions/?view=graph-powershell-1.0 say that there are a lot more functions in the library than are reported from the module

PowerShell 7.5.0
Loading personal and system profiles took 2151ms.
 gavinbarron > Import-Module Microsoft.Graph.Users.Functions -RequiredVersion 2.26.1
 gavinbarron >  Get-Command -Module  Microsoft.Graph.Users.Functions -CommandType Function

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Function        Export-MgUserDeviceAndAppManagementData            2.26.1     Microsoft.Graph.Users.Functions
Function        Get-MgUserDelta                                    2.26.1     Microsoft.Graph.Users.Functions
Function        Get-MgUserManagedAppDiagnosticStatus               2.26.1     Microsoft.Graph.Users.Functions
Function        Get-MgUserManagedAppPolicy                         2.26.1     Microsoft.Graph.Users.Functions
Function        Get-MgUserManagedDeviceWithAppFailure              2.26.1     Microsoft.Graph.Users.Functions
Function        Invoke-MgViewUserReminder                          2.26.1     Microsoft.Graph.Users.Functions
Expected behavior
 gavinbarron >  Import-Module Microsoft.Graph.Users.Functions -RequiredVersion 2.25.0
 gavinbarron >  Get-Command -Module  Microsoft.Graph.Users.Functions -CommandType Function

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Function        Export-MgUserDeviceAndAppManagementData            2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgAllUserChatMessage                           2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgAllUserOnlineMeetingRecording                2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgAllUserOnlineMeetingTranscript               2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserCalendarEventDelta                       2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserChatMessageDelta                         2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserChatMessageReplyDelta                    2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserChatRetainedMessage                      2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserContactDelta                             2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserContactFolderChildFolderContactDelta     2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserContactFolderChildFolderDelta            2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserContactFolderContactDelta                2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserContactFolderDelta                       2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserDelta                                    2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserDriveItemActivityByInterval              2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserDriveItemDelta                           2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserDriveItemListItemActivityByInterval      2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserDriveListContentTypeCompatibleHubConten… 2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserDriveListItemActivityByInterval          2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserDriveListItemDelta                       2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserDriveRootActivityByInterval              2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserDriveRootDelta                           2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserDriveRootListItemActivityByInterval      2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserEventDelta                               2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserEventInstanceDelta                       2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserLicenseDetailTeamLicensingDetail         2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserMailFolderChildFolderDelta               2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserMailFolderChildFolderMessageDelta        2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserMailFolderDelta                          2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserMailFolderMessageDelta                   2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserManagedAppDiagnosticStatus               2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserManagedAppPolicy                         2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserManagedDeviceWithAppFailure              2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserMessageDelta                             2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserOnenoteRecentNotebook                    2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserOnlineMeetingRecordingDelta              2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserOnlineMeetingTranscriptDelta             2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserOnlineMeetingVirtualAppointmentJoinWebU… 2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserTodoListDelta                            2.25.0     Microsoft.Graph.Users.Functions
Function        Get-MgUserTodoTaskDelta                            2.25.0     Microsoft.Graph.Users.Functions
Function        Invoke-MgCalendarUserCalendarAllowedCalendarShari… 2.25.0     Microsoft.Graph.Users.Functions
Function        Invoke-MgGraphUserDrive                            2.25.0     Microsoft.Graph.Users.Functions
Function        Invoke-MgPreviewUserOnenotePage                    2.25.0     Microsoft.Graph.Users.Functions
Function        Invoke-MgRecentUserActivity                        2.25.0     Microsoft.Graph.Users.Functions
Function        Invoke-MgRecentUserDrive                           2.25.0     Microsoft.Graph.Users.Functions
Function        Invoke-MgSupportedUserOutlookLanguage              2.25.0     Microsoft.Graph.Users.Functions
Function        Invoke-MgTimeUserOutlook                           2.25.0     Microsoft.Graph.Users.Functions
Function        Invoke-MgViewUserReminder                          2.25.0     Microsoft.Graph.Users.Functions
Function        Search-MgUserDrive                                 2.25.0     Microsoft.Graph.Users.Functions
Function        Search-MgUserDriveItem                             2.25.0     Microsoft.Graph.Users.Functions
Function        Search-MgUserDriveRoot                             2.25.0     Microsoft.Graph.Users.Functions
Function        Test-MgUserDriveListContentTypePublished           2.25.0     Microsoft.Graph.Users.Functions
How to reproduce

Refer above

SDK Version

2.26.1

Latest version known to work for scenario above?

2.25.0

Known Workarounds

downgrade to v2.25.0

Debug output
Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the regression by importing Microsoft.Graph.Users.Functions versions 2.26.1 and 2.25.0, then compare the output of Get-Command -Module Microsoft.Graph.Users.Functions -CommandType Function. Done means the functions present in 2.25.0, including Get-MgAllUserOnlineMeetingRecording, are available in 2.26.1 without requiring a downgrade.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
api, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.