Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
fdce3e9
Add DeviceManagement modules
peombwa Nov 17, 2020
5446388
Add importedDeviceIdentity to device enrolment
peombwa Nov 19, 2020
04a9ded
Add role management to administration
peombwa Nov 20, 2020
b3992d7
Add device management actions and functions.
peombwa Nov 25, 2020
a0fb4d9
Merge branch 'dev' into features/deviceManagement
peombwa Nov 25, 2020
fe50d55
Updated applications samples
darrelmiller Dec 8, 2020
953fe34
Added send mail sample
darrelmiller Jan 13, 2021
fd49a7b
Merge branch 'dev' into dm/applicationsamples
ddyett Jan 21, 2021
18dcbf9
Apply directive to fix wrongly named cmdlets.
peombwa Jan 26, 2021
1a60205
Regenerate module manifests.
peombwa Jan 26, 2021
2068ba0
Remove *-UserAuthenticationMethod commands
andres-canello Jan 28, 2021
d831b4d
Update src/Identity.SignIns/Identity.SignIns/readme.md
andres-canello Jan 29, 2021
506e206
Merge branch 'dev' into dm/applicationsamples
ddyett Feb 1, 2021
931a1d3
Merge pull request #500 from microsoftgraph/dm/applicationsamples
ddyett Feb 1, 2021
1e52ac3
Merge branch 'dev' into 2021-01-29-AndresC-RemoveCommands
peombwa Feb 1, 2021
c61fb8b
Merge branch 'dev' into bugfixes/MemberOfRename
peombwa Feb 1, 2021
d1fccf2
Merge pull request #518 from microsoftgraph/bugfixes/MemberOfRename
peombwa Feb 1, 2021
05b78d1
Merge branch 'dev' into 2021-01-29-AndresC-RemoveCommands
peombwa Feb 1, 2021
2c49777
Remove TenantId, ForceRefresh and ContextScope from AccessTokenParame…
peombwa Feb 1, 2021
0f7f434
Add unit test.
peombwa Feb 2, 2021
b1e18b0
Merge branch 'dev' into features/CertThumbprintValidation
peombwa Feb 2, 2021
ff71720
Add directive to remove Count, Keys, and Values properties from imple…
peombwa Feb 3, 2021
86e44e0
Remove new modifier for values, keys and count.
peombwa Feb 3, 2021
b204924
Merge pull request #528 from andres-canello/2021-01-29-AndresC-Remove…
peombwa Feb 3, 2021
372d9cb
Merge branch 'dev' into bugfixes/ServiceModuleCount
peombwa Feb 3, 2021
f582ff1
Inline ediscovery.tag and ediscovery.sourceCollection entities.
peombwa Feb 4, 2021
b8fce3b
Merge branch 'dev' into features/deviceManagement
peombwa Feb 4, 2021
df8bf05
Cleanup previous device management modules.
peombwa Feb 4, 2021
c2472be
Add deviceManamenet module.
peombwa Feb 6, 2021
4b2c63f
Add deviceManagement.Action directives.
peombwa Feb 8, 2021
531e75c
Clean up deviceManagement directives.
peombwa Feb 9, 2021
91f7704
Remove ADO feeds from nuget.config.
peombwa Feb 9, 2021
f2c86e5
Remove breaking undocumented cmdlet
peombwa Feb 10, 2021
d060503
Add device management profiles.
peombwa Feb 10, 2021
1b390c1
Write generation errors to pipeline.
peombwa Feb 10, 2021
ec468ec
Update weekly generation ADO pipeline to bump patch numbers.
peombwa Feb 10, 2021
a11d7b2
Merge pull request #549 from microsoftgraph/features/deviceManagement
peombwa Feb 10, 2021
c689d33
Merge branch 'dev' into bugfixes/ServiceModuleCount
peombwa Feb 10, 2021
1664d81
Merge pull request #542 from microsoftgraph/bugfixes/ServiceModuleCount
peombwa Feb 10, 2021
3280fcd
Merge branch 'dev' into bugfixes/ComplianceModuleDirectiveUpdate
peombwa Feb 10, 2021
6421126
Update users.actions module directive.
peombwa Feb 11, 2021
6a9fe48
Merge branch 'bugfixes/ComplianceModuleDirectiveUpdate' of https://gi…
peombwa Feb 11, 2021
230fbd7
Update ADO pipeline to use the latest version of AutoREST.
peombwa Feb 11, 2021
1fbcea9
Set NODE memory to 8192.
peombwa Feb 12, 2021
f6c974c
Set node memory in generation script.
peombwa Feb 12, 2021
31532b0
Clean up pipelines.
peombwa Feb 13, 2021
8a83f3d
Merge pull request #552 from microsoftgraph/bugfixes/ComplianceModule…
peombwa Feb 16, 2021
e3807d8
Merge branch 'dev' into features/CertThumbprintValidation
peombwa Feb 16, 2021
f9c800e
Merge pull request #540 from microsoftgraph/features/CertThumbprintVa…
peombwa Feb 16, 2021
367f12a
Weekly OpenApiDocs Download (#561)
github-actions[bot] Feb 18, 2021
2167472
1.3.2 Pre-Releases (#565)
peombwa Feb 23, 2021
94c3696
Weekly OpenApiDocs Download (#567)
github-actions[bot] Feb 24, 2021
9ce9ab3
Request Object Property Cleanup (#560)
peombwa Feb 24, 2021
69b79b8
Exclude *.md files from nuget package to reduce overrall package size…
georgend Feb 25, 2021
6fe4de9
Weekly OpenApiDocs Download (#569)
github-actions[bot] Mar 3, 2021
90838a0
1.4.0 Pre-Release (#570)
peombwa Mar 4, 2021
53a32b3
Fix broken commands in Sites module. (#574)
peombwa Mar 10, 2021
dda0fa5
Add build agents parameter (#576)
georgend Mar 10, 2021
dfed466
Weekly OpenApiDocs Download (#578)
github-actions[bot] Mar 10, 2021
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
9 changes: 6 additions & 3 deletions .azure-pipelines/common-templates/download-openapi-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ parameters:
- name: BaseBranch
type: string
default: "dev"
- name: BuildAgent
default: MsGraphBuildAgentsWindows
displayName: Build Agent

jobs:
- job: GetLatestDocs
displayName: Download OpenApiDocs
pool: MsGraphDevXAzureAgents
pool: $(BuildAgent)
steps:
- template: ./checkout.yml

Expand Down Expand Up @@ -92,7 +95,7 @@ jobs:
# Calculate meta-module version
$MetaModule = Find-Module "Microsoft.Graph" -Repository PSGallery
$MetaModuleVersion = [System.Version]($MetaModule.Version)
$NewMetaModuleVersion = "$($MetaModuleVersion.Major).$($MetaModuleVersion.Minor + 1).$($MetaModuleVersion.Build)"
$NewMetaModuleVersion = "$($MetaModuleVersion.Major).$($MetaModuleVersion.Minor).$($MetaModuleVersion.Build + 1)"
# Bump meta-module minor version
Write-Host "Bumping Microsoft.Graph to $NewMetaModuleVersion."
& "$(System.DefaultWorkingDirectory)\tools\SetMetaModuleVersion.ps1" -VersionNumber $NewMetaModuleVersion
Expand All @@ -102,7 +105,7 @@ jobs:
try {
$Module = Find-Module "Microsoft.Graph.$_" -Repository PSGallery -ErrorAction Stop
$ModuleVersion = [System.Version]($Module.Version)
$NewModuleVersion = "$($ModuleVersion.Major).$($ModuleVersion.Minor + 1).$($ModuleVersion.Build)"
$NewModuleVersion = "$($ModuleVersion.Major).$($ModuleVersion.Minor).$($ModuleVersion.Build + 1)"
Write-Host "Bumping $_ to $NewModuleVersion."
. "$(System.DefaultWorkingDirectory)\tools\SetServiceModuleVersion.ps1" -VersionNumber $NewModuleVersion -Modules $_
} catch {
Expand Down
3 changes: 1 addition & 2 deletions .azure-pipelines/generate-auth-module-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ parameters:
jobs:
- job: MsGraphPSSDKAuthModuleGeneration
displayName: Microsoft Graph PowerShell SDK Auth Module Generation
pool: MsGraphDevXAzureAgents


steps:
- template: ./install-tools-template.yml

Expand Down
3 changes: 1 addition & 2 deletions .azure-pipelines/generate-modules-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ parameters:
jobs:
- job: MsGraphPSSDKServiceModulesGeneration
displayName: Microsoft Graph PowerShell SDK Service Module Generation
pool: MsGraphDevXAzureAgents
timeoutInMinutes: 600

steps:
Expand Down Expand Up @@ -231,7 +230,7 @@ jobs:
$ModuleMapping.Keys | ForEach-Object {
$ModuleName = $_
$ModuleProjectDir = "$(System.DefaultWorkingDirectory)/src/$ModuleName/$ModuleName"
& $(System.DefaultWorkingDirectory)/tools/PackModule.ps1 -Module $ModuleName -ArtifactsLocation $(Build.ArtifactStagingDirectory)\
& $(System.DefaultWorkingDirectory)/tools/PackModule.ps1 -Module $ModuleName -ArtifactsLocation $(Build.ArtifactStagingDirectory)\ -ExcludeMarkdownDocsFromNugetPackage
}

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
Expand Down
1 change: 0 additions & 1 deletion .azure-pipelines/generate-rollup-module-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ parameters:
jobs:
- job: MsGraphPSSDKRollUpModuleGeneration
displayName: Microsoft Graph PowerShell SDK Roll-Up Module Generation
pool: MsGraphDevXAzureAgents
timeoutInMinutes: 600

steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ parameters:
- name: PublishToFeed
type: boolean
default: false

jobs:
- job: GenerateServiceModules
displayName: Service module generation
pool: MsGraphDevXAzureAgents
timeoutInMinutes: 360
condition: and(succeeded(), ne(stageDependencies.DownloadOpenAPIDocs.GetLatestDocs.outputs['OpenAPIDocDiff.ModulesWithChanges'], ''))
variables:
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
$ModuleMapping.Keys | ForEach-Object {
$ModuleName = $_
$ModuleProjectDir = "$(System.DefaultWorkingDirectory)/src/$ModuleName/$ModuleName"
& $(System.DefaultWorkingDirectory)/tools/PackModule.ps1 -Module $ModuleName -ArtifactsLocation $(Build.ArtifactStagingDirectory)\
& $(System.DefaultWorkingDirectory)/tools/PackModule.ps1 -Module $ModuleName -ArtifactsLocation $(Build.ArtifactStagingDirectory)\ -ExcludeMarkdownDocsFromNugetPackage
}

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
Expand Down
9 changes: 7 additions & 2 deletions .azure-pipelines/install-tools-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ steps:
debugMode: false
version: 3.x

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

- task: NuGetToolInstaller@1
displayName: 'Install Nuget 5.7'
inputs:
Expand All @@ -28,7 +34,6 @@ steps:
targetType: inline
script: |
dotnet tool update --global PowerShell
pwsh

- task: PowerShell@2
displayName: 'Version Check'
Expand All @@ -50,7 +55,7 @@ steps:
displayName: 'Install AutoRest'
inputs:
command: 'custom'
customCommand: 'install -g autorest@beta'
customCommand: 'install -g autorest@latest'

- task: PowerShell@2
displayName: 'Register PS Repository'
Expand Down
22 changes: 19 additions & 3 deletions .azure-pipelines/integrated-pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

parameters:
- name: BuildAgent
default: MsGraphBuildAgentsWindows
displayName: Build Agent

- name: AzureSubscription
default: "Microsoft Graph Build Agents (Win+Lin)"
displayName: Azure Subscription

- name: KeyVault
default: "msgraph-build-keyvault"
displayName: Build Key vault

variables:
AUTH_MODULE_NAME: 'Authentication'
AUTH_MODULE_PATH: 'src\Authentication\Authentication'
Expand All @@ -17,8 +30,11 @@ variables:
GitUserEmail: 'GraphTooling@service.microsoft.com'
GitUserName: 'Microsoft Graph DevX Tooling'
BUILDNUMBER: -1
BUILDAGENT: ${{ parameters.BuildAgent }}
AZURESUBSCRIPTION: ${{ parameters.AzureSubscription }}
KEYVAULT: ${{ parameters.KeyVault }}

pool: MsGraphDevXAzureAgents
pool: $(BUILDAGENT)

trigger:
branches:
Expand Down Expand Up @@ -54,8 +70,8 @@ stages:
steps:
- task: AzureKeyVault@1
inputs:
azureSubscription: 'Microsoft Graph Build Agents'
KeyVaultName: 'msgraph-build-vault'
azureSubscription: $(AZURESUBSCRIPTION)
KeyVaultName: $(KEYVAULT)
SecretsFilter: '*'
RunAsPreJob: true

Expand Down
3 changes: 0 additions & 3 deletions .azure-pipelines/security-postchecks-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
jobs:
- job: MsGraphPSSDKSecurityPostChecks
displayName: Microsoft Graph PowerShell SDK Security Post Checks
pool:
image: windows-latest
timeoutInMinutes: 600

steps:
- task: CodesignValidation@0
Expand Down
2 changes: 0 additions & 2 deletions .azure-pipelines/security-prechecks-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
jobs:
- job: MsGraphPSSDKSecurityPreChecks
displayName: Microsoft Graph PowerShell SDK Security Pre Checks
pool: MsGraphDevXAzureAgents
timeoutInMinutes: 600

steps:
- task: CredScan@2
displayName: 'Run CredScan'
Expand Down
11 changes: 10 additions & 1 deletion .azure-pipelines/weekly-generation.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.


name: $(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)
pool: MsGraphDevXAzureAgents

parameters:
- name: BuildAgent
default: MsGraphBuildAgentsWindows
displayName: Build Agent

variables:
Branch: "WeeklyOpenApiDocsDownload"
BaseBranch: "dev"
BUILDAGENT: ${{ parameters.BuildAgent }}

pool: $(BUILDAGENT)

trigger: none
pr: none
schedules:
Expand Down
2 changes: 0 additions & 2 deletions Nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
<packageSources>
<clear />
<add key="Nuget" value="https://api.nuget.org/v3/index.json" />
<add key="PowerShellSDK_BuildFeed" value="https://pkgs.dev.azure.com/microsoftgraph/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/PowerShellSDK_BuildFeed/nuget/v3/index.json" />
<add key="LocalNugetFeed" value="https://pkgs.dev.azure.com/microsoftgraph/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/b395d603-5c77-4af9-a495-1e3cdbb49e1e/nuget/v2" />
</packageSources>
</configuration>
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.3.1"
"version": "1.4.1"
}
16 changes: 10 additions & 6 deletions config/ModulesMapping.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Applications":"^applicationTemplates\\.|^applications\\.|^servicePrincipals\\.|^onPremisesPublishingProfiles\\.|^users.appRoleAssignment$|^groups.appRoleAssignment$",
"Applications": "^applicationTemplates\\.|^applications\\.|^servicePrincipals\\.|^onPremisesPublishingProfiles\\.|^users.appRoleAssignment$|^groups.appRoleAssignment$",
"Bookings": "^bookingBusinesses\\.|^bookingCurrencies\\.",
"Calendar": "^places\\.|^users.calendar$|^users.calendarGroup$|^users.event$|^groups.calendar$|^groups.event$",
"ChangeNotifications": "^subscriptions\\.",
Expand All @@ -8,6 +8,11 @@
"CrossDeviceExperiences": "^users.userActivity$|^users.device$",
"Devices.CloudPrint": "^print\\.",
"Devices.CorporateManagement": "^deviceAppManagement\\.|^officeConfiguration\\.|^users.mobileAppIntentAndState$|^users.mobileAppTroubleshootingEvent$|^users.windowsInformationProtectionDeviceRegistration$|^users.managedAppRegistration$|^users.managedDevice$|^users.deviceManagementTroubleshootingEvent$|^users.deviceEnrollmentConfiguration$",
"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.Administration": "^deviceManagement.(.*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$",
"DeviceManagement.Functions": "^deviceManagement.Functions$",
"DirectoryObjects": "^directoryObjects\\.",
"Education": "^education\\.",
"Files": "^drives\\.|^shares\\.|^users.drive$|^groups.drive$",
Expand All @@ -19,18 +24,17 @@
"Mail": "^users.inferenceClassification$|^users.mailFolder$|^users.message$",
"Notes": "^users.onenote$|^groups.onenote$|^sites.onenote$",
"People": "^users.person$|^users.profile$|^users.officeGraphInsights$|^users.userAnalytics$",
"PersonalContacts":"^users.contactFolder$|^users.contact$",
"PersonalContacts": "^users.contactFolder$|^users.contact$",
"Planner": "^planner\\.|^users.plannerUser$|^groups.plannerGroup$",
"Reports": "^reports\\.|^auditLogs\\.",
"Reports": "^reports\\.|^auditLogs\\.|^deviceManagement.deviceManagementReports$",
"SchemaExtensions": "^schemaExtensions\\.",
"Search": "^search\\.|^external\\.",
"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.teamsApp$|^users.userTeamwork$|^teamwork\\.|^users.team$|^groups.team$",
"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$"
"Users.Functions": "^users.Functions$",

// "Devices.CorporateManagement": "^deviceManagement\\.", - Max Limit
// "WorkBooks": "^workbooks\\.",// Max limit.
}
}
Loading