msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

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

Open gavinbarron opened this issue 8 months ago • 2 comments

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_

gavinbarron avatar Mar 25 '25 20:03 gavinbarron