Skip to content

Conversation

peombwa
Copy link
Member

@peombwa peombwa commented Apr 10, 2020

This PR adds Users.Actions, Groups.Actions and DeviceApps.DeviceManagement modules by making the following changes:

Groups.Actions

  • Remove paths that have /parent* or /calendarView* since they can be called via other cmdlets i.e. operationId groups.onenote..*.parent.* and groups.*.calendarView.*
  • Remove Validate1* variants of Test-MgGroupProperty since it's a duplicate of Test-MgDirectoryObjectProperty
  • Remove Evaluate1* variants of Test-MgGroupDynamicMembership, it's a duplicate of Evaluate*1 variants.
  • Rename Get-MgGroup to Get-MgGroupById.
  • Rename Update-MgGroupOnenotePage to Update-MgGroupOnenotePageContent.
  • Rename Update-MgGroupOnenoteSectionPage to Update-MgGroupOnenoteSectionPageContent.
  • Rename Update-MgGroupOnenoteNotebookSectionPage to Update-MgGroupOnenoteNotebookSectionPageContent.
  • Rename Update-MgGroupOnenoteSectionGroupSectionPage to Update-MgGroupOnenoteSectionGroupSectionPageContent.
  • Rename Update-MgGroupOnenoteNotebookSectionGroupSectionPage to Update-MgGroupOnenoteNotebookSectionGroupSectionPageContent.

DeviceApps.DeviceAppManagement

  • Remove paths that are too long i.e. operationId deviceAppManagement.wdacSupplementalPolicies.deviceStatuses.policy_assign and deviceManagement.deviceHealthScripts.deviceRunStates.managedDevice_deleteUserFromSharedAppleDevice.
  • Rename Update* variants of Update-MgDeviceAppManagementMobileAppRelationship to Update-MgDeviceAppManagementMultipleMobileAppRelationship.
  • Rename Update1* variants of Update-MgDeviceAppManagementPolicySet to Update-MgDeviceAppManagementMultiplePolicySet.

Users.Actions

  • Remove paths that have /parent* or /calendarView* since they can be called via other cmdlets i.e. operationId users.onenote..*.parent.* and users.*.calendarView.*.
  • Remove Wipe* variants of Clear-MgUserManagedAppRegistration, it's a duplicate of Wipe1* variants.
  • Remove Get-MgUserCalendarEventCalendarSchedule, it can be called via Get-MgUserEventCalendarSchedule.
  • Remove Get-MgUserOnlineMeeting, it's a duplicate of Get-MgUserOnlineMeeting in Microsoft.Graph.OnlineMeetings.
  • Rename Get-MgUser to Get-MgUserById.
  • Rename Get-MgUserOwnedObject to Get-MgUserOwnedObjectByType.
  • Rename New-MgUserOnlineMeeting to `Invoke-MgCreateOrGetUserOnlineMeeting.
  • Rename Update-MgUserTeamworkInstalledApp to Invoke-MgUpgradeUserTeamworkInstalledApp.
  • Rename Update-MgUserOnenote{NotebookSectionGroupSectionPage|NotebookSectionPage|Page|SectionGroupSectionPage|SectionPage} to Update-MgUserOnenote{NotebookSectionGroupSectionPage|NotebookSectionPage|Page|SectionGroupSectionPage|SectionPage}Content.
  • Rename Get* variants of Get-MgUserCalendarSchedule to Get-MgUserDefaultCalendarSchedule.
  • Rename Create* variants of New-MgUserCalendarEventAttachmentUploadSession to New-MgUserDefaultCalendarEventAttachmentUploadSession.
  • Rename Accept* variants of Invoke-MgAcceptUser{CalendarEvent|CalendarEventInstance|CalendarEventTentatively|CalendarEventInstanceTentatively} to Invoke-MgAcceptUserDefault{CalendarEvent|CalendarEventInstance|CalendarEventTentatively|CalendarEventInstanceTentatively}.
  • Rename Decline1* variants of Invoke-MgDeclineUserCalendarEventInstance to Invoke-MgDeclineUserDefaultCalendarEventInstance.
  • Rename Decline* variants of Invoke-MgDeclineUserCalendarEvent to Invoke-MgDeclineUserDefaultCalendarEvent.
  • Rename Forward1* variants of Invoke-MgForwardUserCalendarEventInstance to Invoke-MgForwardUserDefaultCalendarEventInstance.
  • Rename Forward* variants of Invoke-MgForwardUserCalendarEvent to Invoke-MgForwardUserDefaultCalendarEvent.
  • Rename Snooze1* variants of Invoke-MgSnoozeUserCalendarEventInstanceReminder to Invoke-MgSnoozeUserDefaultCalendarEventInstanceReminder.
  • Rename Snooze* variants of Invoke-MgSnoozeUserCalendarEventReminder to Invoke-MgSnoozeUserDefaultCalendarEventReminder.
  • Rename Cancel* variants of Stop-MgUser{CalendarEvent|CalendarEventInstance} to Stop-MgUserDefault{CalendarEvent|CalendarEventInstance}.
  • Rename Reply1* variants of Invoke-MgReply{UserMessage|UserMailFolderMessage} to Invoke-MgReplyAll{UserMessage|UserMailFolderMessage}.
  • Rename Reply1* variants of New-Mg{UserMessageReply|UserMailFolderMessageReply} to New-Mg{UserMessageReply|UserMailFolderMessageReply}All.

Closes #23

@peombwa peombwa self-assigned this Apr 10, 2020
@peombwa peombwa requested review from darrelmiller and ddyett April 10, 2020 22:17
@peombwa peombwa merged commit bb8a5af into dev Apr 14, 2020
@peombwa peombwa deleted the po/newModules branch April 14, 2020 16:02
@peombwa peombwa mentioned this pull request Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix circular reference build errors.
3 participants