Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/ModulesMapping.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"Security": "^Security\\.",
"Sites": "^sites.site$|^sites.itemAnalytics$|^sites.columnDefinition$|^sites.contentType$|^sites.drive$|^sites.list$|^sites.sitePage$|^users.site$|^groups.site$|^sites.Functions$|^sites.Actions$",
"Teams": "^teams\\.|^chats\\.|^users.chat$|^appCatalogs$|^users.userTeamwork$|^teamwork\\.|^users.team$|^users.userTeamwork$|^groups.team$",
"Users": "^users.user$|^users.directoryObject$|^users.licenseDetails$|^users.notification$|^users.outlookUser$|^users.profilePhoto$|^users.userSettings$|^users.extension$|^users.oAuth2PermissionGrant$",
"Users": "^users.user$|^users.directoryObject$|^users.licenseDetails$|^users.notification$|^users.outlookUser$|^users.profilePhoto$|^users.userSettings$|^users.extension$|^users.oAuth2PermissionGrant$|^users.todo$",
"Users.Actions": "^users.Actions$",
"Users.Functions": "^users.Functions$"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 8/25/2020
# Generated on: 9/17/2020
#

@{
Expand All @@ -18,7 +18,7 @@ ModuleVersion = '0.9.2'
CompatiblePSEditions = 'Core', 'Desktop'

# ID used to uniquely identify this module
GUID = 'c98c22c6-c6b6-45eb-933c-1bf07aaf050c'
GUID = 'ac483866-d9f0-46c2-adf6-00c5b17eaca8'

# Author of this module
Author = 'Microsoft Corporation'
Expand Down Expand Up @@ -163,7 +163,7 @@ FunctionsToExport =
'Get-MgUserManagedDeviceConfigurationState',
'Get-MgUserManagedDeviceDetectedApp',
'Get-MgUserManagedDeviceDetectedAppByRef',
'Get-MgUserManagedDeviceLogCollectionRequest',
'Get-MgUserManagedDeviceLogCollectionResponse',
'Get-MgUserManagedDeviceMobileAppConfigurationState',
'Get-MgUserManagedDeviceSecurityBaselineState',
'Get-MgUserManagedDeviceSecurityBaselineStateSettingState',
Expand Down Expand Up @@ -246,7 +246,7 @@ FunctionsToExport =
'New-MgUserManagedDeviceCompliancePolicyState',
'New-MgUserManagedDeviceConfigurationState',
'New-MgUserManagedDeviceDetectedAppByRef',
'New-MgUserManagedDeviceLogCollectionRequest',
'New-MgUserManagedDeviceLogCollectionResponse',
'New-MgUserManagedDeviceMobileAppConfigurationState',
'New-MgUserManagedDeviceSecurityBaselineState',
'New-MgUserManagedDeviceSecurityBaselineStateSettingState',
Expand Down Expand Up @@ -328,7 +328,7 @@ FunctionsToExport =
'Remove-MgUserManagedDevice', 'Remove-MgUserManagedDeviceCategory',
'Remove-MgUserManagedDeviceCompliancePolicyState',
'Remove-MgUserManagedDeviceConfigurationState',
'Remove-MgUserManagedDeviceLogCollectionRequest',
'Remove-MgUserManagedDeviceLogCollectionResponse',
'Remove-MgUserManagedDeviceMobileAppConfigurationState',
'Remove-MgUserManagedDeviceSecurityBaselineState',
'Remove-MgUserManagedDeviceSecurityBaselineStateSettingState',
Expand Down Expand Up @@ -432,7 +432,7 @@ FunctionsToExport =
'Update-MgUserManagedDevice', 'Update-MgUserManagedDeviceCategory',
'Update-MgUserManagedDeviceCompliancePolicyState',
'Update-MgUserManagedDeviceConfigurationState',
'Update-MgUserManagedDeviceLogCollectionRequest',
'Update-MgUserManagedDeviceLogCollectionResponse',
'Update-MgUserManagedDeviceMobileAppConfigurationState',
'Update-MgUserManagedDeviceSecurityBaselineState',
'Update-MgUserManagedDeviceSecurityBaselineStateSettingState',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ directive:
variant: ^Update$|^UpdateExpanded$|^UpdateViaIdentity$|^UpdateViaIdentityExpanded$
set:
subject: $1Multiple$2
# https://docs.microsoft.com/en-us/graph/api/resources/intune-devices-devicelogcollectionresponse?view=graph-rest-beta
- where:
subject: ^(UserManagedDeviceLogCollection)(Request)$
set:
subject: $1Response
- where:
verb: Update
subject: ^(DeviceAppManagement)(PolicySet)$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 8/25/2020
# Generated on: 9/17/2020
#

@{
Expand All @@ -18,7 +18,7 @@ ModuleVersion = '0.9.2'
CompatiblePSEditions = 'Core', 'Desktop'

# ID used to uniquely identify this module
GUID = 'c605bff5-3c5b-4a0e-a811-f367d7dd0081'
GUID = 'b180ad1d-fdd5-4d04-ba6e-53a2b07836e3'

# Author of this module
Author = 'Microsoft Corporation'
Expand Down Expand Up @@ -133,7 +133,8 @@ FunctionsToExport = 'Add-MgUserPendingAccessReviewInstanceDecision',
'New-MgUserMailFolderMessageReply',
'New-MgUserMailFolderMessageReplyAll',
'New-MgUserManagedDeviceLogCollectionRequest',
'New-MgUserManagedDeviceLogCollectionRequestDownloadUrl',
'New-MgUserManagedDeviceLogCollectionResponseDownloadUrl',
'New-MgUserManagedDeviceWindowsDefenderUpdateSignature',
'New-MgUserMessageAttachmentUploadSession',
'New-MgUserMessageForward', 'New-MgUserMessageReply',
'New-MgUserMessageReplyAll',
Expand Down Expand Up @@ -164,7 +165,7 @@ FunctionsToExport = 'Add-MgUserPendingAccessReviewInstanceDecision',
'Stop-MgUserPendingAccessReviewInstance',
'Stop-MgUserPendingAccessReviewInstanceDefinition',
'Sync-MgUserManagedDevice', 'Test-MgUserProperty',
'Unblock-MgUserManagedApp', 'Update-MgUserManagedDevice',
'Unblock-MgUserManagedApp',
'Update-MgUserManagedDeviceWindowDeviceAccount',
'Update-MgUserOnenotePageContent'

Expand Down
12 changes: 12 additions & 0 deletions src/Users.Actions/Users.Actions/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,18 @@ directive:
variant: ^Create1$|^CreateExpanded1$|^CreateViaIdentity1$|^CreateViaIdentityExpanded1$|^Create3$|^CreateExpanded3$|^CreateViaIdentity3$|^CreateViaIdentityExpanded3$
set:
subject: $1$2All
# https://docs.microsoft.com/en-us/graph/api/resources/intune-devices-devicelogcollectionresponse?view=graph-rest-beta
- where:
verb: New
subject: ^(UserManagedDeviceLogCollection)Request(DownloadUrl)$
set:
subject: $1Response$2
- where:
verb: Update
subject: ^(UserManagedDevice)$
set:
verb: New
subject: $1WindowsDefenderUpdateSignature
```
### Versioning

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 8/25/2020
# Generated on: 9/17/2020
#

@{
Expand All @@ -18,7 +18,7 @@ ModuleVersion = '0.9.2'
CompatiblePSEditions = 'Core', 'Desktop'

# ID used to uniquely identify this module
GUID = 'f54feaaa-5bc6-4ff3-82af-4e5309253203'
GUID = 'c17c7aed-8a2a-4714-8151-0207714f2196'

# Author of this module
Author = 'Microsoft Corporation'
Expand Down Expand Up @@ -84,11 +84,11 @@ FunctionsToExport = 'Export-MgUserDeviceAndAppManagementData623C',
'Get-MgUserManagedAppBlockedUser',
'Get-MgUserManagedAppDiagnosticStatuses',
'Get-MgUserManagedAppPolicy',
'Get-MgUserManagedAppRegistrationUserId', 'Get-MgUserManagedDevice',
'Get-MgUserManagedAppRegistrationUserId',
'Get-MgUserManagedDeviceFileVaultKey',
'Get-MgUserManagedDeviceNonCompliantSetting',
'Get-MgUserMessageDelta', 'Get-MgUserOnenoteRecentNotebook',
'Get-MgUserPlannerAllDelta',
'Get-MgUserManagedDeviceWithAppFailure', 'Get-MgUserMessageDelta',
'Get-MgUserOnenoteRecentNotebook', 'Get-MgUserPlannerAllDelta',
'Invoke-MgCalendarUserCalendarAllowedCalendarSharingRoles',
'Invoke-MgCalendarUserEventCalendarAllowedCalendarSharingRoles',
'Invoke-MgPendingUserApp', 'Invoke-MgPreviewUserOnenotePage',
Expand Down
5 changes: 5 additions & 0 deletions src/Users.Functions/Users.Functions/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ directive:
subject: ^(CalendarUserEventCalendar|CalendarUserCalendar)$
set:
subject: $1AllowedCalendarSharingRoles
- where:
verb: Get
subject: ^(UserManagedDevice)$
set:
subject: $1WithAppFailure
```
### Versioning

Expand Down
32 changes: 22 additions & 10 deletions src/Users/Users/Microsoft.Graph.Users.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 8/25/2020
# Generated on: 9/18/2020
#

@{
Expand All @@ -18,7 +18,7 @@ ModuleVersion = '0.9.2'
CompatiblePSEditions = 'Core', 'Desktop'

# ID used to uniquely identify this module
GUID = '77e1512a-dd5b-47c8-9f02-e54fc5ef6c88'
GUID = '12eb6ba7-09b5-47d3-a8ed-d3b7d64c542b'

# Author of this module
Author = 'Microsoft Corporation'
Expand Down Expand Up @@ -99,12 +99,15 @@ FunctionsToExport = 'Get-MgUser', 'Get-MgUserCreatedObject',
'Get-MgUserPhoto', 'Get-MgUserRegisteredDevice',
'Get-MgUserRegisteredDeviceByRef', 'Get-MgUserSetting',
'Get-MgUserSettingRegionalAndLanguageSetting',
'Get-MgUserSettingShiftPerenceByRef', 'Get-MgUserTransitiveMember',
'Get-MgUserTransitiveMemberByRef', 'New-MgUser',
'New-MgUserCreatedObjectByRef', 'New-MgUserDirectReportByRef',
'New-MgUserExtension', 'New-MgUserLicenseDetail',
'New-MgUserMemberByRef', 'New-MgUserNotification',
'New-MgUserOauth2PermissionGrantByRef',
'Get-MgUserSettingShiftPerenceByRef', 'Get-MgUserTodoList',
'Get-MgUserTodoListExtension', 'Get-MgUserTodoListTask',
'Get-MgUserTodoListTaskExtension',
'Get-MgUserTodoListTaskLinkedResource',
'Get-MgUserTransitiveMember', 'Get-MgUserTransitiveMemberByRef',
'New-MgUser', 'New-MgUserCreatedObjectByRef',
'New-MgUserDirectReportByRef', 'New-MgUserExtension',
'New-MgUserLicenseDetail', 'New-MgUserMemberByRef',
'New-MgUserNotification', 'New-MgUserOauth2PermissionGrantByRef',
'New-MgUserOutlookMasterCategory', 'New-MgUserOutlookTask',
'New-MgUserOutlookTaskAttachment', 'New-MgUserOutlookTaskFolder',
'New-MgUserOutlookTaskFolderMultiValueExtendedProperty',
Expand All @@ -125,6 +128,9 @@ FunctionsToExport = 'Get-MgUser', 'Get-MgUserCreatedObject',
'New-MgUserOutlookTaskSingleValueExtendedProperty',
'New-MgUserOwnedDeviceByRef', 'New-MgUserOwnedObjectByRef',
'New-MgUserPhoto', 'New-MgUserRegisteredDeviceByRef',
'New-MgUserTodoList', 'New-MgUserTodoListExtension',
'New-MgUserTodoListTask', 'New-MgUserTodoListTaskExtension',
'New-MgUserTodoListTaskLinkedResource',
'New-MgUserTransitiveMemberByRef', 'Remove-MgUser',
'Remove-MgUserExtension', 'Remove-MgUserLicenseDetail',
'Remove-MgUserManagerByRef', 'Remove-MgUserNotification',
Expand All @@ -149,7 +155,10 @@ FunctionsToExport = 'Get-MgUser', 'Get-MgUserCreatedObject',
'Remove-MgUserOutlookTaskSingleValueExtendedProperty',
'Remove-MgUserPhoto', 'Remove-MgUserSetting',
'Remove-MgUserSettingRegionalAndLanguageSetting',
'Remove-MgUserSettingShiftPerenceByRef', 'Set-MgUserManagerByRef',
'Remove-MgUserSettingShiftPerenceByRef', 'Remove-MgUserTodoList',
'Remove-MgUserTodoListExtension', 'Remove-MgUserTodoListTask',
'Remove-MgUserTodoListTaskExtension',
'Remove-MgUserTodoListTaskLinkedResource', 'Set-MgUserManagerByRef',
'Update-MgUser', 'Update-MgUserExtension',
'Update-MgUserLicenseDetail', 'Update-MgUserNotification',
'Update-MgUserOutlook', 'Update-MgUserOutlookMasterCategory',
Expand All @@ -173,7 +182,10 @@ FunctionsToExport = 'Get-MgUser', 'Get-MgUserCreatedObject',
'Update-MgUserOutlookTaskSingleValueExtendedProperty',
'Update-MgUserPhoto', 'Update-MgUserSetting',
'Update-MgUserSettingRegionalAndLanguageSetting',
'Update-MgUserSettingShiftPerenceByRef'
'Update-MgUserSettingShiftPerenceByRef', 'Update-MgUserTodoList',
'Update-MgUserTodoListExtension', 'Update-MgUserTodoListTask',
'Update-MgUserTodoListTaskExtension',
'Update-MgUserTodoListTaskLinkedResource'

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()
Expand Down
4 changes: 3 additions & 1 deletion src/Users/Users/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ subject-prefix: ''
> see https://github.com/Azure/autorest/blob/master/docs/powershell/directives.md

``` yaml

directive:
# Remove invalid root paths e.g. users{id}/todo
- remove-path-by-operation: users_(Get|Create|Update|Delete|Set)(Todo|outlook)
```
### Versioning

Expand Down
Loading