Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3a3902d
Weekly OpenApiDocs Download (#1027)
github-actions[bot] Jan 25, 2022
433cb32
Docs Pipeline Git Permission Issue (#1029)
georgend Feb 1, 2022
4c50bb2
Docs Generation (#1048)
github-actions[bot] Feb 1, 2022
9c64202
Extend OpenAPI Docs Download timeout.
peombwa Feb 17, 2022
82e6a29
Fix broken directives.
peombwa Feb 18, 2022
e2b837f
Increase timeout value.
peombwa Feb 18, 2022
bf36e0d
Initial implemenatation of parameter completion
FehintolaObafemi Feb 22, 2022
75c8171
Weekly OpenApiDocs Download (#1111)
github-actions[bot] Feb 24, 2022
f6897e1
Update New-MgInvitation.md (#1112)
JeffBley Feb 24, 2022
9198594
Fixes Missing Debug Body (#1114)
peombwa Feb 28, 2022
e9b8ba5
AzDo Pipeline Improvements (#1102)
peombwa Feb 28, 2022
cec87c0
Add GitHub Issue Templates (#1110)
peombwa Mar 1, 2022
87d5529
Connect-MgGraph parameter completer
FehintolaObafemi Mar 2, 2022
da16f91
Initial implemenatation of parameter completion
FehintolaObafemi Feb 22, 2022
98675cf
Connect-MgGraph parameter completer
FehintolaObafemi Mar 2, 2022
81ecb1f
Connect-MgGraph parameter completer v0.2
FehintolaObafemi Mar 3, 2022
41c0fd6
Weekly OpenApiDocs Download (#1122)
github-actions[bot] Mar 3, 2022
d16a581
Add dependabot configuration. (#1109)
peombwa Mar 3, 2022
39c694b
Merge branch 'dev' into fehintolaobafemi/parametercompleter
peombwa Mar 3, 2022
6de139b
Connect-MgGraph Parameter completer
FehintolaObafemi Mar 3, 2022
f65b54c
Ensure all properties in additionalProperties bag are serialized in c…
peombwa Mar 3, 2022
975b54f
Add Service Communication APIs (#1113)
peombwa Mar 3, 2022
6fa8648
Add generated MgCommandMetadata.json.
peombwa Mar 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 2 additions & 8 deletions .azure-pipelines/common-templates/checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ steps:
- checkout: self
clean: true
fetchDepth: 1
submodules: true
persistCredentials: true

- task: PowerShell@2
Expand All @@ -32,15 +33,8 @@ steps:
git pull
git status

- task: Bash@3
displayName: "Update Git Submodules"
inputs:
targetType: inline
script: |
git pull --recurse-submodules
git submodule update --init --recursive --remote

- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2
displayName: "Run CredScan"
inputs:
debugMode: false
debugMode: false
8 changes: 3 additions & 5 deletions .azure-pipelines/common-templates/download-openapi-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@
parameters:
- name: Branch
type: string
default: "WeeklyOpenApiDocsDownload"
- name: BaseBranch
type: string
default: "dev"
- name: BuildAgent
default: MsGraphBuildAgentsWindows
displayName: Build Agent

jobs:
- job: GetLatestDocs
displayName: Download OpenApiDocs
timeoutInMinutes: 240
pool: $(BuildAgent)
steps:
- template: ./checkout.yml
Expand Down Expand Up @@ -129,9 +127,9 @@ jobs:
script: |
git status
git add .
git commit -m 'Weekly OpenApiDocs Download'
git commit -m 'Weekly OpenApiDocs Download. [run ci]'
git status
git push --set-upstream origin $(ComputeBranch.WeeklyBranch)
git push --set-upstream "https://$(GITHUB_TOKEN)@github.com/microsoftgraph/msgraph-sdk-powershell.git" $(ComputeBranch.WeeklyBranch)
git status

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

steps:
- template: ./common-templates/install-tools-template.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ steps:
git status
git add "$(System.DefaultWorkingDirectory)/src/Authentication/Authentication/custom/common/MgCommandMetadata.json"
git commit -m 'Add generated MgCommandMetadata.json. [run ci]'
git push
git push "https://$(GITHUB_TOKEN)@github.com/microsoftgraph/msgraph-sdk-powershell.git"
git status
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ steps:
targetType: inline
script: |
git status
git push --set-upstream origin $(ComputeBranch.DocsBranch)
git push --set-upstream "https://$(GITHUB_TOKEN)@github.com/microsoftgraph/msgraph-sdk-powershell.git" $(ComputeBranch.DocsBranch)
git status
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ parameters:
jobs:
- job: GenerateServiceModules
displayName: Service module generation
timeoutInMinutes: 600
timeoutInMinutes: 840
condition: and(succeeded(), ne(stageDependencies.DownloadOpenAPIDocs.GetLatestDocs.outputs['OpenAPIDocDiff.ModulesWithChanges'], ''))
variables:
Branch: ${{ parameters.Branch }}
Expand Down
7 changes: 7 additions & 0 deletions .azure-pipelines/integrated-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ trigger:
- releases/*
- bugfixes/*
- features/*
exclude:
- DocsGeneration/*

pr:
branches:
exclude:
- DocsGeneration/*

stages:
- stage: ComputeVersion
Expand Down
8 changes: 4 additions & 4 deletions .azure-pipelines/weekly-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ parameters:
variables:
Branch: "WeeklyOpenApiDocsDownload"
BaseBranch: "dev"
BUILDAGENT: ${{ parameters.BuildAgent }}

pool: $(BUILDAGENT)
BuildAgent: ${{ parameters.BuildAgent }}

pool: $(BuildAgent)
trigger: none
pr: none
schedules:
- cron: "0 12 * * WED" # Run every wednesday at noon UTC
- cron: "0 12 * * WED" # Run every Wednesday at noon UTC
displayName: "Weekly PS SDK generation"
branches:
include:
Expand All @@ -33,6 +32,7 @@ stages:
parameters:
Branch: $(Branch)
BaseBranch: $(BaseBranch)
BuildAgent: $(BuildAgent)

- stage: GenerateServiceModules
displayName: Generate service modules
Expand Down
44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: Client bug report
about: Report an issue that is caused by the SDK
title: "[Client bug]: provide a descriptive title here"
labels: client bug
assignees: ''

---

### **Describe the bug**

A clear and concise description of what the bug is.

### **To Reproduce**

Steps to reproduce the behavior:

1. Run Connect-MgGraph with '...'
2. Run command '....'
3. See error

### **Expected behavior**

A clear and concise description of what you expected to happen.

### **Screenshots**

If applicable, add screenshots to help explain your problem.

### **SDK version**

Provide the SDK version number from `Get-Module Microsoft.Graph -ListAvailable | select Name, Version`.

### **Environment (please complete the following information):**

Provide the following environment information from the `$PSVersionTable` variable:

- PSVersion: [e.g. 7.2.1]
- OS: [e.g. Windows]
- Platform [e.g. Win32NT]

### **Additional context**

Add any other context about the problem here.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''

---
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: 'request: feature'
assignees: ''

---

### **Is your feature request related to a problem? Please describe**

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

### **Describe the solution you'd like**

A clear and concise description of what you want to happen.

### **Describe alternatives you've considered**

A clear and concise description of any alternative solutions or features you've considered.

### **Additional context**

Add any other context or screenshots about the feature request here.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/service-bug-report-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Service bug report instructions
about: Learn how you can open an issue against the Microsoft Graph REST API.
title: ''
labels: service bug
assignees: ''

---

1. Open https://developer.microsoft.com/en-us/graph/support
2. From the main page, you can:
- Ask a question or provide feedback on our APIs or docs.
- Report issues with the service.
22 changes: 22 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!-- Read me before you submit this pull request
First off, thank you for opening this pull request! We do appreciate it.
The commands and models for this SDK are generated. We won't be accepting pull requests for those code files. With that said, we do appreciate
it when you open pull requests with the proposed file changes as we'll use that to help guide us in updating our AutoREST directives.
-->

<!-- Optional. Set the issues that this pull request fixes. Delete 'Fixes #' if there isn't an issue associated with this pull request. -->
Fixes #

<!-- Required. Provide specifics about what the changes are and why you're proposing these changes. -->
### Changes proposed in this pull request

-
-
-

<!-- Optional. Provide related links. This might be other pull requests, code files, StackOverflow posts. Delete this section if it is not used. -->
### Other links

-
-
-
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 10
- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 1
2 changes: 1 addition & 1 deletion .github/workflows/create-helpdocs-pr-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
createHelpsDocsPR:
if: github.event_name == 'push'
if: github.event_name == 'push' && contains(toJson(github.event.commits), '[run ci]') && !contains(toJson(github.event.commits), 'NO_CI') && !contains(toJson(github.event.commits), '[ci skip]') && !contains(toJson(github.event.commits), '[skip ci]')
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
Expand Down
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.2"
"version": "1.9.3"
}
1 change: 1 addition & 0 deletions config/ModulesMapping.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"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$",
"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.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\\.",
Expand Down
Loading