Skip to content

Commit

Permalink
Merge pull request #729 from microsoftgraph/enhancements/AvailableExt…
Browse files Browse the repository at this point in the history
…ensionProperties

Remove Invalid Get-Mg*AvailableExtensionProperty commands
  • Loading branch information
peombwa committed Jul 13, 2021
2 parents 2c6f5f4 + 34da5a5 commit f9cfdf9
Show file tree
Hide file tree
Showing 8 changed files with 85 additions and 68 deletions.
14 changes: 7 additions & 7 deletions src/Applications/Applications/Microsoft.Graph.Applications.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 1/25/2021
# Generated on: 6/29/2021
#

@{
Expand All @@ -12,13 +12,13 @@
RootModule = './Microsoft.Graph.Applications.psm1'

# Version number of this module.
ModuleVersion = '1.2.0'
ModuleVersion = '1.6.0'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'

# ID used to uniquely identify this module
GUID = 'b7e0ec6f-c535-43f3-ae90-08bd6a7851fa'
GUID = '59f13f53-5be6-40d0-a1cd-3e0e276686db'

# Author of this module
Author = 'Microsoft Corporation'
Expand Down Expand Up @@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '1.2.0'; })
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '1.6.0'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = './bin/Microsoft.Graph.Applications.private.dll'
Expand All @@ -71,6 +71,7 @@ FormatsToProcess = './Microsoft.Graph.Applications.format.ps1xml'
# Functions 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 functions to export.
FunctionsToExport = 'Add-MgApplicationKey', 'Add-MgApplicationPassword',
'Add-MgServicePrincipalKey', 'Add-MgServicePrincipalPassword',
'Add-MgServicePrincipalTokenSigningCertificate',
'Confirm-MgApplicationMemberGroup',
'Confirm-MgApplicationMemberObject',
'Confirm-MgServicePrincipalMemberGroup',
Expand All @@ -79,8 +80,8 @@ FunctionsToExport = 'Add-MgApplicationKey', 'Add-MgApplicationPassword',
'Find-MgApplicationSynchronizationTemplateSchemaDirectory',
'Find-MgServicePrincipalSynchronizationJobSchemaDirectory',
'Find-MgServicePrincipalSynchronizationTemplateSchemaDirectory',
'Get-MgApplication', 'Get-MgApplicationAvailableExtensionProperty',
'Get-MgApplicationById', 'Get-MgApplicationConnectorGroup',
'Get-MgApplication', 'Get-MgApplicationById',
'Get-MgApplicationConnectorGroup',
'Get-MgApplicationConnectorGroupByRef',
'Get-MgApplicationCreatedOnBehalfOf',
'Get-MgApplicationCreatedOnBehalfOfByRef', 'Get-MgApplicationDelta',
Expand Down Expand Up @@ -120,7 +121,6 @@ FunctionsToExport = 'Add-MgApplicationKey', 'Add-MgApplicationPassword',
'Get-MgOnPremisePublishingProfilePublishedResourceAgentGroupPublishedResource',
'Get-MgServicePrincipal', 'Get-MgServicePrincipalAppRoleAssignedTo',
'Get-MgServicePrincipalAppRoleAssignment',
'Get-MgServicePrincipalAvailableExtensionProperty',
'Get-MgServicePrincipalById',
'Get-MgServicePrincipalClaimMappingPolicy',
'Get-MgServicePrincipalClaimMappingPolicyByRef',
Expand Down
4 changes: 4 additions & 0 deletions src/Applications/Applications/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ directive:
subject: (Application|ServicePrincipal)SynchronizationJobCredentials
variant: Validate1|ValidateExpanded1|ValidateViaIdentity1|ValidateViaIdentityExpanded1
remove: true
- where:
verb: Get
subject: (Application|ServicePrincipal)AvailableExtensionProperty
remove: true
# Alias then rename cmdlets to avoid breaking change.
- where:
subject: ^(ServicePrincipal|Application)(Member|TransitiveMember|CreatedOnBehalf)$
Expand Down
43 changes: 21 additions & 22 deletions src/Groups/Groups/Microsoft.Graph.Groups.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 1/25/2021
# Generated on: 6/29/2021
#

@{
Expand All @@ -12,13 +12,13 @@
RootModule = './Microsoft.Graph.Groups.psm1'

# Version number of this module.
ModuleVersion = '1.2.0'
ModuleVersion = '1.6.0'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'

# ID used to uniquely identify this module
GUID = '0b410dab-6817-40dd-b2da-4f6519946b47'
GUID = 'ee0ef1df-45d9-4fba-93e2-95df0aa494ea'

# Author of this module
Author = 'Microsoft Corporation'
Expand Down Expand Up @@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '1.2.0'; })
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '1.6.0'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = './bin/Microsoft.Graph.Groups.private.dll'
Expand All @@ -75,10 +75,10 @@ FunctionsToExport = 'Add-MgGroupFavorite', 'Add-MgGroupToLifecyclePolicy',
'Copy-MgGroupOnenotePageToSection',
'Copy-MgGroupOnenoteSectionToNotebook',
'Copy-MgGroupOnenoteSectionToSectionGroup', 'Get-MgGroup',
'Get-MgGroupAcceptedSender',
'Get-MgGroupAvailableExtensionProperty', 'Get-MgGroupById',
'Get-MgGroupCalendarEventDelta', 'Get-MgGroupCalendarSchedule',
'Get-MgGroupConversation', 'Get-MgGroupConversationThread',
'Get-MgGroupAcceptedSender', 'Get-MgGroupAcceptedSenderByRef',
'Get-MgGroupById', 'Get-MgGroupCalendarEventDelta',
'Get-MgGroupCalendarSchedule', 'Get-MgGroupConversation',
'Get-MgGroupConversationThread',
'Get-MgGroupConversationThreadPost',
'Get-MgGroupConversationThreadPostAttachment',
'Get-MgGroupConversationThreadPostExtension',
Expand All @@ -97,8 +97,8 @@ FunctionsToExport = 'Add-MgGroupFavorite', 'Add-MgGroupToLifecyclePolicy',
'Get-MgGroupOnenoteRecentNotebook', 'Get-MgGroupOwner',
'Get-MgGroupOwnerByRef', 'Get-MgGroupPermissionGrant',
'Get-MgGroupPhoto', 'Get-MgGroupPhotoContent',
'Get-MgGroupRejectedSender', 'Get-MgGroupSetting',
'Get-MgGroupThread', 'Get-MgGroupThreadPost',
'Get-MgGroupRejectedSender', 'Get-MgGroupRejectedSenderByRef',
'Get-MgGroupSetting', 'Get-MgGroupThread', 'Get-MgGroupThreadPost',
'Get-MgGroupThreadPostAttachment', 'Get-MgGroupThreadPostExtension',
'Get-MgGroupThreadPostMention',
'Get-MgGroupThreadPostMultiValueExtendedProperty',
Expand Down Expand Up @@ -128,7 +128,7 @@ FunctionsToExport = 'Add-MgGroupFavorite', 'Add-MgGroupToLifecyclePolicy',
'Invoke-MgSnoozeGroupCalendarEventReminder',
'Invoke-MgSnoozeGroupEventReminder', 'Invoke-MgSubscribeGroup',
'Invoke-MgUnsubscribeGroup', 'New-MgGroup',
'New-MgGroupAcceptedSender', 'New-MgGroupConversation',
'New-MgGroupAcceptedSenderByRef', 'New-MgGroupConversation',
'New-MgGroupConversationThread',
'New-MgGroupConversationThreadPost',
'New-MgGroupConversationThreadPostAttachment',
Expand All @@ -142,16 +142,16 @@ FunctionsToExport = 'Add-MgGroupFavorite', 'Add-MgGroupToLifecyclePolicy',
'New-MgGroupMemberByRef', 'New-MgGroupMemberOfByRef',
'New-MgGroupMemberWithLicenseErrorByRef', 'New-MgGroupOwnerByRef',
'New-MgGroupPermissionGrant', 'New-MgGroupPhoto',
'New-MgGroupRejectedSender', 'New-MgGroupSetting',
'New-MgGroupRejectedSenderByRef', 'New-MgGroupSetting',
'New-MgGroupThread', 'New-MgGroupThreadPost',
'New-MgGroupThreadPostAttachment',
'New-MgGroupThreadPostAttachmentUploadSession',
'New-MgGroupThreadPostExtension', 'New-MgGroupThreadPostMention',
'New-MgGroupThreadPostMultiValueExtendedProperty',
'New-MgGroupThreadPostSingleValueExtendedProperty',
'New-MgGroupTransitiveMemberByRef', 'New-MgUserJoinedGroup',
'Remove-MgGroup', 'Remove-MgGroupAcceptedSender',
'Remove-MgGroupConversation', 'Remove-MgGroupConversationThread',
'Remove-MgGroup', 'Remove-MgGroupConversation',
'Remove-MgGroupConversationThread',
'Remove-MgGroupConversationThreadPost',
'Remove-MgGroupConversationThreadPostAttachment',
'Remove-MgGroupConversationThreadPostExtension',
Expand All @@ -162,9 +162,9 @@ FunctionsToExport = 'Add-MgGroupFavorite', 'Add-MgGroupToLifecyclePolicy',
'Remove-MgGroupExtension', 'Remove-MgGroupFavorite',
'Remove-MgGroupFromLifecyclePolicy',
'Remove-MgGroupLifecyclePolicy', 'Remove-MgGroupPermissionGrant',
'Remove-MgGroupPhoto', 'Remove-MgGroupRejectedSender',
'Remove-MgGroupSetting', 'Remove-MgGroupThread',
'Remove-MgGroupThreadPost', 'Remove-MgGroupThreadPostAttachment',
'Remove-MgGroupPhoto', 'Remove-MgGroupSetting',
'Remove-MgGroupThread', 'Remove-MgGroupThreadPost',
'Remove-MgGroupThreadPostAttachment',
'Remove-MgGroupThreadPostExtension',
'Remove-MgGroupThreadPostMention',
'Remove-MgGroupThreadPostMultiValueExtendedProperty',
Expand All @@ -174,8 +174,8 @@ FunctionsToExport = 'Add-MgGroupFavorite', 'Add-MgGroupToLifecyclePolicy',
'Set-MgGroupLicense', 'Set-MgGroupPhotoContent',
'Stop-MgGroupCalendarEvent', 'Stop-MgGroupEvent',
'Test-MgGroupDynamicMembership', 'Test-MgGroupProperty',
'Update-MgGroup', 'Update-MgGroupAcceptedSender',
'Update-MgGroupConversation', 'Update-MgGroupConversationThread',
'Update-MgGroup', 'Update-MgGroupConversation',
'Update-MgGroupConversationThread',
'Update-MgGroupConversationThreadPost',
'Update-MgGroupConversationThreadPostAttachment',
'Update-MgGroupConversationThreadPostExtension',
Expand All @@ -185,9 +185,8 @@ FunctionsToExport = 'Add-MgGroupFavorite', 'Add-MgGroupToLifecyclePolicy',
'Update-MgGroupEndpoint', 'Update-MgGroupExtension',
'Update-MgGroupLifecyclePolicy', 'Update-MgGroupOnenotePageContent',
'Update-MgGroupPermissionGrant', 'Update-MgGroupPhoto',
'Update-MgGroupRejectedSender', 'Update-MgGroupSetting',
'Update-MgGroupThread', 'Update-MgGroupThreadPost',
'Update-MgGroupThreadPostAttachment',
'Update-MgGroupSetting', 'Update-MgGroupThread',
'Update-MgGroupThreadPost', 'Update-MgGroupThreadPostAttachment',
'Update-MgGroupThreadPostExtension',
'Update-MgGroupThreadPostMention',
'Update-MgGroupThreadPostMultiValueExtendedProperty',
Expand Down
4 changes: 4 additions & 0 deletions src/Groups/Groups/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ directive:
subject: ^GroupDynamicMembership$
variant: Evaluate1|EvaluateExpanded1
remove: true
- where:
verb: Get
subject: (Group)AvailableExtensionProperty
remove: true
# Rename cmdlets
- where:
subject: ^(GroupLifecyclePolicy)(\1)+
Expand Down
Loading

0 comments on commit f9cfdf9

Please sign in to comment.