Skip to content

Commit

Permalink
1.10.0 Release (#1330)
Browse files Browse the repository at this point in the history
* Removed the scopes table (#1247)

Co-authored-by: Peter Ombwa <peombwa@microsoft.com>

* Added examples to the Set-MgUserLicense cmdlet (#1217)

* Added examples to the Set-MgUserLicense cmdlet

* Added more examples

* Added a link to m365 article

* Updated the examples to use an M365 license instead of Win 10

* Minor edit

* Minor edit

* Apply suggestions from code review

Co-authored-by: Peter Ombwa <peter.ombwa@microsoft.com>

Co-authored-by: Peter Ombwa <peombwa@microsoft.com>
Co-authored-by: Peter Ombwa <peter.ombwa@microsoft.com>

* Rename master branch to main. (#1254)

* Bump auth module to 1.9.7.

* Add generated MgCommandMetadata.json. [run ci]

* Docs Generation for Teams [run ci]

* Docs Generation for Identity.Governance [run ci]

* Docs Generation for ChangeNotifications [run ci]

* Docs Generation for Reports [run ci]

* Docs Generation for Bookings [run ci]

* Docs Generation for Users.Functions [run ci]

* Docs Generation for Users.Actions [run ci]

* Docs Generation for DeviceManagement.Enrolment [run ci]

* Docs Generation for Financials [run ci]

* Docs Generation for DeviceManagement.Administration [run ci]

* Docs Generation for Mail [run ci]

* Docs Generation for Files [run ci]

* Docs Generation for DirectoryObjects [run ci]

* Docs Generation for Users [run ci]

* Docs Generation for Groups [run ci]

* Docs Generation for WindowsUpdates [run ci]

* Docs Generation for Search [run ci]

* Docs Generation for Identity.DirectoryManagement [run ci]

* Docs Generation for SchemaExtensions [run ci]

* Docs Generation for Compliance [run ci]

* Docs Generation for Devices.CloudPrint [run ci]

* Docs Generation for Sites [run ci]

* Docs Generation for Devices.ServiceAnnouncement [run ci]

* Docs Generation for DeviceManagement [run ci]

* Docs Generation for DeviceManagement.Functions [run ci]

* Docs Generation for Education [run ci]

* Docs Generation for PersonalContacts [run ci]

* Docs Generation for People [run ci]

* Docs Generation for Calendar [run ci]

* Docs Generation for Applications [run ci]

* Docs Generation for Identity.SignIns [run ci]

* Docs Generation for Planner [run ci]

* Docs Generation for Security [run ci]

* Docs Generation for Devices.CorporateManagement [run ci]

* Docs Generation for Notes [run ci]

* Docs Generation for CrossDeviceExperiences [run ci]

* Docs Generation for DeviceManagement.Actions [run ci]

* Docs Generation for CloudCommunications [run ci]

* Add 1es-MsGraphBuildAgentsWindowsPsSDK (#1263)

* Add 1es-MsGraphBuildAgentsWindowsPsSDK

Do not pull this in until we are happy with the performance of the 1es agent.

* Change from msbuild to dotnet to run Roslyn analyzer

1ES image doesn't have VS.

* Update from .NET 5 to .NET 6

* Use rooted path for roslyn analyzer command line

* Set msBuildArchitecture to DotNetCore

* Increase Node heap size to reduce garbage collection

This is a shot in the dark change. It would be helpful if AutoREST has perf counters instrumented in it.

* change to final pool name

* update to use 1es-windows-ps-compute

Co-authored-by: Peter Ombwa <peombwa@microsoft.com>

* Example add mg application password (#1284)

* Update Add-MgApplicationPassword.md

* Update Add-MgApplicationPassword.md

* Update Add-MgApplicationPassword.md

Co-authored-by: Peter Ombwa <peombwa@microsoft.com>

* - adds docker image definition

* - adds an argument and a condition to be able to pull a specific version of the module

* Added examples to cmdlets (#1258)

Co-authored-by: Peter Ombwa <peombwa@microsoft.com>

* Fix serialization of OpenTypes (#1303)

* Remove camel case conversion of additional properties.

* Only camelCase properties of NamedLocation abstract type.

* Add site list item tests.

* Add Identity.Signins Pester tests.

* Remove unsupported commands from Identity.Governance module. (#1305)

* Use the 1es agent (#1314)

Co-authored-by: Peter Ombwa <peombwa@microsoft.com>

* Refresh OpenAPI Docs (#1315)

* Weekly OpenApiDocs Download (#1243)

* Weekly OpenApiDocs Download. [run ci]

* Fix IOdata instances.

* Inline security entities.

* Handle duplicates.

Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com>
Co-authored-by: Peter Ombwa <peombwa@microsoft.com>
Co-authored-by: Peter Ombwa <peter.ombwa@microsoft.com>

* Refresh OpenAPI files.

* Refresh OpenAPI.

* Remove unsupported functions.

* Fix exception type in Sites test.

* Fix sites tests.

* Update directives.

* Fix Group directives.

* Refresh OpenAPI files.

* Fix Users.Actions directives.

* Fetch latest.

* Refresh OpenAPI files.

* Specify IndexerName to avoid schema conflict.

* Add IndexerName to Users.Actions module.

* Update indexer regex.

* Move indexer to main AutoREST config.

* Update sites tests.

* Update ByRef directives.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com>

* 1.10.0 Release (#1324)

* Bump SDK version to 1.10.0

* Fix wrong preposition names.

* Update directives.

* Update site tests.

* Refresh command metadata.

* Add DeviceManagementConfigurationSettings apis. (#1326)

* Removed null reference to Graph Instance environment after calling Invoke-MgGraph command (#1328)

* Reassigned _originalEnvironment variable to the previous user defined state instead of pointing to null

* Corrected comment on Remove-MgEnvironment command

Co-authored-by: Timothy Wamalwa <twamalwa@microsoft.com>
Co-authored-by: Peter Ombwa <peombwa@microsoft.com>

* Update module mapping with `IdentityProtection` singleton (#1306)

* Replace riskyUsers and riskDetections with IdentityProtection singleton.

* Update profiles.

* Update pester tests.

* Cleanup Broken Commands (#1325)

* Rename then alias SignIn command.

* Remove unsupported Restore-Mg* commands.

* Update module manifest files.

* Add custom directive to download files in Reports module. (#1331)

* Add custom directive to download files when response is of type octetStreamSchemaResponse.

* Warn customer if file name already exists.

* Fixed typo in Get-MgDomain example (#1335)

Fixed "domaim" typo in "Example 1" for Get-MgDomain

Co-authored-by: Peter Ombwa <peombwa@microsoft.com>

Co-authored-by: Eunice Waweru <73849846+msewaweru@users.noreply.github.com>
Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com>
Co-authored-by: Tim <timwamalwa@gmail.com>
Co-authored-by: Michael Mainer <MIchaelMainer@users.noreply.github.com>
Co-authored-by: Merill Fernando <merill@merill.net>
Co-authored-by: Vincent Biret <vibiret@microsoft.com>
Co-authored-by: Vincent Biret <vincentbiret@hotmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Timothy Wamalwa <twamalwa@microsoft.com>
Co-authored-by: Sam Erde <samuel.erde@gmail.com>
  • Loading branch information
11 people authored Jun 21, 2022
1 parent 9f1618a commit 52a9607
Show file tree
Hide file tree
Showing 950 changed files with 1,045,063 additions and 612,023 deletions.
6 changes: 3 additions & 3 deletions .azure-pipelines/common-templates/install-tools-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ steps:
version: 3.x

- task: UseDotNet@2
displayName: 'Use .NET Core SDK 5 Current'
displayName: 'Use .NET Core SDK 6 Current'
inputs:
debugMode: false
version: 5.x
version: 6.x

- task: NuGetToolInstaller@1
displayName: 'Install Nuget 5.7'
Expand Down Expand Up @@ -76,4 +76,4 @@ steps:
Register-PSRepository -Name 'LocalNugetFeed' -SourceLocation $nugetFeed -PublishLocation $nugetFeed -InstallationPolicy Trusted -Credential $credsAzureDevopsServices -PackageManagementProvider 'Nuget' -ErrorAction Continue
Get-PSRepository
Find-Module -Name Microsoft.Graph.Authentication -AllowPrerelease -Credential $credsAzureDevopsServices -AllVersions -Repository 'LocalNugetFeed'
Find-Module -Name Microsoft.Graph.Authentication -AllowPrerelease -Repository 'LocalNugetFeed'
Find-Module -Name Microsoft.Graph.Authentication -AllowPrerelease -Repository 'LocalNugetFeed'
6 changes: 3 additions & 3 deletions .azure-pipelines/generate-auth-module-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
inputs:
userProvideBuildInfo: 'msBuildInfo'
msBuildVersion: '16.0'
msBuildArchitecture: 'x64'
msBuildCommandline: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\amd64\msbuild.exe" $(System.DefaultWorkingDirectory)//src//Authentication//Authentication.sln /nologo /nr:false /p:VisualStudioVersion="16.0"'
msBuildArchitecture: 'DotNetCore'
msBuildCommandline: '"C:\Program Files\dotnet\dotnet.exe" msbuild $(System.DefaultWorkingDirectory)//src//Authentication//Authentication.sln /nologo /nr:false'

- task: CodeMetrics@1
displayName: 'Run CodeMetrics'
Expand Down Expand Up @@ -220,4 +220,4 @@ jobs:
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)/$(AUTH_MODULE_NAME)'
ArtifactName: 'drop'
publishLocation: 'Container'
publishLocation: 'Container'
2 changes: 1 addition & 1 deletion .azure-pipelines/generate-modules-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
pwsh: true
script: |
Write-Host $(BUILDNUMBER)
. $(System.DefaultWorkingDirectory)/tools/GenerateModules.ps1 -ArtifactsLocation $(Build.ArtifactStagingDirectory)\ -Build -EnableSigning -ModulePreviewNumber $(BUILDNUMBER) -RepositoryName "LocalNugetFeed" -ExcludeExampleTemplates -ExcludeNotesSection
. $(System.DefaultWorkingDirectory)/tools/GenerateModules.ps1 -ArtifactsLocation $(Build.ArtifactStagingDirectory)\ -Build -Test -EnableSigning -ModulePreviewNumber $(BUILDNUMBER) -RepositoryName "LocalNugetFeed" -ExcludeExampleTemplates -ExcludeNotesSection
- template: ./generation-templates/generate-helpdocs-template.yml

Expand Down
6 changes: 3 additions & 3 deletions .azure-pipelines/integrated-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ stages:
KEYVAULT: $(KEYVAULT)
AZURESUBSCRIPTION: $(AZURESUBSCRIPTION)

- stage: GenerateBetaModules
displayName: 'Generate Beta Modules (Microsoft.Graph.*)'
- stage: GenerateModules
displayName: 'Generate Modules (Microsoft.Graph.*)'
jobs:
- template: ./generate-modules-template.yml
parameters:
Expand Down Expand Up @@ -133,4 +133,4 @@ stages:
- job: MsGraphPSSDKSecurityPostChecks
displayName: Microsoft Graph PowerShell SDK Security Post Checks
steps:
- template: ./common-templates/security-postchecks-template.yml
- template: ./common-templates/security-postchecks-template.yml
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM mcr.microsoft.com/powershell

ARG MODULE_VERSION=latest

RUN pwsh -c "if ('${MODULE_VERSION}' -eq 'latest') { Install-Module Microsoft.Graph -Scope CurrentUser -AllowClobber -Force} else { Install-Module Microsoft.Graph -Scope CurrentUser -AllowClobber -Force -Version ${MODULE_VERSION} }"

LABEL description="# Welcome to Microsoft Graph PowrShell \
To start learning about the module checkout the [getting started documentation](https://docs.microsoft.com/en-us/powershell/microsoftgraph/get-started)"
2 changes: 1 addition & 1 deletion config/ModuleMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
],
"releaseNotes": "See https://aka.ms/GraphPowerShell-Release.",
"assemblyOriginatorKeyFile": "35MSSharedLib1024.snk",
"version": "1.9.6"
"version": "1.10.0"
}
4 changes: 2 additions & 2 deletions config/ModulesMapping.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"Devices.CloudPrint": "^print\\.",
"Devices.CorporateManagement": "^deviceAppManagement\\.|^officeConfiguration\\.|^users.mobileAppIntentAndState$|^users.mobileAppTroubleshootingEvent$|^users.windowsInformationProtectionDeviceRegistration$|^users.managedAppRegistration$|^users.managedDevice$|^users.deviceManagementTroubleshootingEvent$|^users.deviceEnrollmentConfiguration$",
"Devices.ServiceAnnouncement": "^admin.serviceAnnouncement$|^admin.Actions$|^admin.Functions$",
"DeviceManagement": "^deviceManagement.(deviceCompliancePolicy.*|deviceConfiguration.*|managedDevice.*|managementCondition.*|microsoftTunnel.*|userExperienceAnalytics.*|windowsInformationProtection.*|deviceManagement|deviceManagement(DerivedCredentialSettings|Intent|ResourceAccessProfileBase|Script|SettingCategory|SettingDefinition|Template|TroubleshootingEvent)|androidForWork(AppConfigurationSchema|Settings)|androidManagedStore(AccountEnterpriseSettings|AppConfigurationSchema)|deviceAndAppManagementAssignmentFilter|deviceCategory|advancedThreatProtectionOnboardingStateSummary|dataSharingConsent|detectedApp|deviceHealthScript|deviceShellScript|embeddedSIMActivationCodePool|groupPolicyConfiguration|macOSSoftwareUpdateAccountSummary|mobileAppTroubleshootingEvent|notificationMessageTemplate|remoteActionAudit|softwareUpdateStatusSummary|windowsMalwareInformation)$",
"DeviceManagement": "^deviceManagement.(deviceCompliancePolicy.*|deviceManagementConfigurationPolicy.*|deviceManagementCompliancePolicy.*|deviceManagementConfigurationSettingDefinition.*|deviceConfiguration.*|managedDevice.*|managementCondition.*|microsoftTunnel.*|userExperienceAnalytics.*|windowsInformationProtection.*|deviceManagement|deviceManagement(DerivedCredentialSettings|Intent|ResourceAccessProfileBase|Script|SettingCategory|SettingDefinition|Template|TroubleshootingEvent)|androidForWork(AppConfigurationSchema|Settings)|androidManagedStore(AccountEnterpriseSettings|AppConfigurationSchema)|deviceAndAppManagementAssignmentFilter|deviceCategory|advancedThreatProtectionOnboardingStateSummary|dataSharingConsent|detectedApp|deviceHealthScript|deviceShellScript|embeddedSIMActivationCodePool|groupPolicyConfiguration|macOSSoftwareUpdateAccountSummary|mobileAppTroubleshootingEvent|notificationMessageTemplate|remoteActionAudit|softwareUpdateStatusSummary|windowsMalwareInformation)$",
"DeviceManagement.Administration": "^deviceManagement.(virtualEndpoint.*|.*Partner.*|.*Certificate.*|.*role.*|deviceManagement(DomainJoinConnector|ExchangeConnector|ExchangeOnPremisesPolicy)|groupPolicy(Category|Definition|DefinitionFile|MigrationReport|ObjectFile|UploadedDefinitionFile)|auditEvent|cartToClassAssociation|comanagementEligibleDevice|deviceAndAppManagementRoleAssignment|intuneBrandingProfile|iosUpdateDeviceStatus|mobileThreatDefenseConnector|ndesConnector|resourceOperation|restrictedAppsViolation|termsAndConditions)",
"DeviceManagement.Enrolment": "^deviceManagement.(.*Enrollment.*|.*Autopilot.*|.*depOnboarding.*|importedDeviceIdentity|onPremisesConditionalAccessSettings|windowsFeatureUpdateProfile)$|^roleManagement\\.",
"DeviceManagement.Actions": "^deviceManagement.Actions$",
Expand All @@ -21,7 +21,7 @@
"Groups": "^groups.group$|^groups.directoryObject$|^groups.conversation$|^groups.endpoint$|^groups.extension$|^groups.resourceSpecificPermissionGrant$|^groups.profilePhoto$|^groups.conversationThread$|^groupLifecyclePolicies\\.|^users.group$|^groups.directorySetting$|^groups.Actions$|^groups.Functions$",
"Identity.DirectoryManagement": "^administrativeUnits\\.|^contacts\\.|^devices\\.|^domains\\.|^directoryRoles\\.|^directoryRoleTemplates\\.|^directorySettingTemplates\\.|^settings\\.|^subscribedSkus\\.|^contracts\\.|^directory\\.|^users.scopedRoleMembership$|^organization.organization$|^organization.organizationalBranding$|^organization.organizationSettings$|^organization.Actions$|^organization.extension$",
"Identity.Governance": "^accessReviews\\.|^businessFlowTemplates\\.|^programs\\.|^programControls\\.|^programControlTypes\\.|^privilegedRoles\\.|^privilegedRoleAssignments\\.|^privilegedRoleAssignmentRequests\\.|^privilegedApproval\\.|^privilegedOperationEvents\\.|^privilegedAccess\\.|^agreements\\.|^users.agreementAcceptance$|^identityGovernance\\.",
"Identity.SignIns": "^organization.certificateBasedAuthConfiguration$|^invitations\\.|^identityProviders\\.|^oauth2PermissionGrants\\.|^riskDetections\\.|^riskyUsers\\.|^dataPolicyOperations\\.|^identity.identityUserFlow$|^trustFramework\\.|^informationProtection\\.|^policies\\.|^users.authentication$|^users.informationProtection$|^identity.conditionalAccessRoot$",
"Identity.SignIns": "^organization.certificateBasedAuthConfiguration$|^invitations\\.|^identityProviders\\.|^oauth2PermissionGrants\\.|^identityProtection\\.|^dataPolicyOperations\\.|^identity.identityUserFlow$|^trustFramework\\.|^informationProtection\\.|^policies\\.|^users.authentication$|^users.informationProtection$|^identity.conditionalAccessRoot$",
"Mail": "^users.inferenceClassification$|^users.mailFolder$|^users.message$",
"Notes": "^users.onenote$|^groups.onenote$|^sites.onenote$",
"People": "^users.person$|^users.profile$|^users.officeGraphInsights$|^users.userAnalytics$",
Expand Down
Loading

0 comments on commit 52a9607

Please sign in to comment.