Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
9f7e1d7
Added fetch from list variants
timayabi2020 Jul 25, 2023
ddce4b8
fix: Use case-insensitive dictionary when deserializing from dictiona…
peombwa Jul 26, 2023
fdf1435
fix: Serialization of nested OrderedHashtables.
peombwa Jul 28, 2023
1bed2d6
Updating examples
Jul 28, 2023
d979613
Pluralizes person noun
timayabi2020 Jul 28, 2023
1a04ab6
Merge pull request #2200 from microsoftgraph/WeeklyExamplesUpdate/202…
timayabi2020 Jul 28, 2023
37c2308
Merge branch 'dev' into bugfixes/OrderedHashtableSerialization
peombwa Jul 31, 2023
09938b2
Merge pull request #2205 from microsoftgraph/bugfixes/OrderedHashtabl…
peombwa Jul 31, 2023
94b6d81
Don't fail if creating graph directory fails
BHoggs Aug 1, 2023
28f4f8d
Made use of find-mggraph command to get all the related uri paths for…
timayabi2020 Aug 1, 2023
4e2c760
fix: Try clone request content.
peombwa Aug 1, 2023
417b7a4
Use catch instead of finally
BHoggs Aug 1, 2023
5ecc066
Merge branch 'dev' of https://github.com/microsoftgraph/msgraph-sdk-p…
timayabi2020 Aug 2, 2023
b1a8bb0
Removed unnecessary write host
timayabi2020 Aug 2, 2023
65692b7
Corrected url path issues
timayabi2020 Aug 2, 2023
ab7c74f
Updating examples
Aug 2, 2023
5063f3f
Merge pull request #2212 from microsoftgraph/WeeklyExamplesUpdate/202…
timayabi2020 Aug 2, 2023
8abd201
Merge branch 'dev' into az-functions-fix
peombwa Aug 2, 2023
981a626
Merge pull request #2206 from BHoggs/az-functions-fix
peombwa Aug 2, 2023
31c522b
Merge branch 'dev' into bugfixes/HttpMessageClone
peombwa Aug 2, 2023
f958c28
fix: Log if content body was disposed before logger could access it.
peombwa Aug 2, 2023
6d50c8f
Merge pull request #2209 from microsoftgraph/bugfixes/HttpMessageClone
peombwa Aug 2, 2023
0b446fe
Weekly OpenApiDocs Download.
Aug 3, 2023
9a19251
Add generated MgCommandMetadata.json. [run ci]
Aug 3, 2023
8989ffb
Merge pull request #2216 from microsoftgraph/WeeklyApiRefresh/2023080…
timayabi2020 Aug 4, 2023
ed04571
Add support for new states in RSC configuration.
subray2014 Aug 4, 2023
98bcb7c
Add doc comments.
subray2014 Aug 4, 2023
3e49b35
Added directive to prevent null response objects
timayabi2020 Aug 7, 2023
6250ed2
Comments.
subray2014 Aug 7, 2023
f9e254c
Updated directive as per comment
timayabi2020 Aug 8, 2023
c091e11
Weekly OpenApiDocs Download.
Aug 8, 2023
69d62c1
Merge branch 'dev' into users/subray/enhanceTeamsRscConfigStates
peombwa Aug 8, 2023
fe7bd45
Update src/readme.graph.md
timayabi2020 Aug 8, 2023
e5d7bd8
Updated regex to include changes in beta cs files
timayabi2020 Aug 8, 2023
73d5882
Merge pull request #2222 from subray2014/users/subray/enhanceTeamsRsc…
peombwa Aug 8, 2023
71ba6d0
Merge branch 'dev' into fix-null-response
timayabi2020 Aug 8, 2023
12f8982
chore: Fix failing Authenticode validation due to ConvertFrom-Json ch…
peombwa Aug 8, 2023
3f1d943
chore: Do not resolve paths.
peombwa Aug 9, 2023
bef1589
Update projectsbot.yml
ddyett Aug 9, 2023
757dd48
Merge pull request #2226 from microsoftgraph/fix-null-response
timayabi2020 Aug 9, 2023
7d8224d
Merge branch 'dev' into ddyett-patch-2
peombwa Aug 9, 2023
b72be12
Merge branch 'dev' into people-pronoun-rename
peombwa Aug 9, 2023
93dec7f
Merge pull request #2232 from microsoftgraph/ddyett-patch-2
peombwa Aug 9, 2023
519e3bb
Merge branch 'dev' into people-pronoun-rename
peombwa Aug 9, 2023
d01f6ff
chore: Fix circular inline reference in Identity.Governance module.
peombwa Aug 9, 2023
cc1c71b
Update src/readme.graph.md
timayabi2020 Aug 9, 2023
862a79a
Merge pull request #2202 from microsoftgraph/people-pronoun-rename
peombwa Aug 9, 2023
11b1116
Update projectsbot.yml
ddyett Aug 9, 2023
a1372b1
chore: Run CI build on PR.
peombwa Aug 9, 2023
fbaff2c
Merge branch 'po/FixAuthenticodeValidation' into dev
peombwa Aug 9, 2023
1c5e53a
chore: Inline MicrosoftGraphSecurityHost.
peombwa Aug 9, 2023
d7b4d49
Add generated MgCommandMetadata.json. [run ci]
Aug 10, 2023
7f88fae
Merge branch 'dev' into WeeklyApiRefresh/202308081559
peombwa Aug 10, 2023
a847fd5
Merge pull request #2235 from microsoftgraph/WeeklyApiRefresh/2023080…
peombwa Aug 10, 2023
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
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .azure-pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ trigger:
include:
- main
- dev
pr: none
pr:
branches:
include:
- main
- dev

jobs:
- job: MsGraphPsSdkCiBuild
Expand Down
19 changes: 19 additions & 0 deletions .azure-pipelines/common-templates/install-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
steps:
- task: PowerShell@2
displayName: Install PowerShell SDK
inputs:
targetType: 'inline'
pwsh: true
script: |
try{
# Installing Beta module.
Install-Module Microsoft.Graph.Beta -Repository PSGallery -Scope AllUsers -AcceptLicense -SkipPublisherCheck -Force -AllowClobber
}catch{
echo "Error when installing Beta"
}
try{
# Installing V1 module.
Install-Module Microsoft.Graph -Repository PSGallery -Scope AllUsers -AcceptLicense -SkipPublisherCheck -Force -AllowClobber
}catch{
echo "Error when installing V1"
}
16 changes: 11 additions & 5 deletions .azure-pipelines/generation-templates/workload-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,17 @@ steps:
$ModuleMapping.Keys | ForEach-Object {
$ModuleName = $_
$ModulePath = "$(System.DefaultWorkingDirectory)/src/$ModuleName/$ApiVersion"
if (Test-Path $ModulePath) {
$ModulePsd1 = Join-Path $ModulePath "Microsoft.Graph*.$ModuleName.psd1" -Resolve
$ModulePsm1 = Join-Path $ModulePath "Microsoft.Graph*.$ModuleName.psm1" -Resolve
($ModulePsd1 | Get-AuthenticodeSignature).Status | Should -Be "Valid"
($ModulePsm1 | Get-AuthenticodeSignature).Status | Should -Be "Valid"
$ModulePsd1 = Join-Path $ModulePath "Microsoft.Graph*.$ModuleName.psd1"
$ModulePsm1 = Join-Path $ModulePath "Microsoft.Graph*.$ModuleName.psm1"
Write-Host "Validating Authenticode Signature for $ModulePsd1"
Write-Host "Validating Authenticode Signature for $ModulePsm1"
if ((Test-Path $ModulePsd1) -and (Test-Path $ModulePsm1)) {
$ModulePsd1AuthCodeSignature = $ModulePsd1 | Get-AuthenticodeSignature
$ModulePsm1AuthCodeSignature = $ModulePsm1 | Get-AuthenticodeSignature
Write-Host "Authenticode Signature for $ModulePsd1 is $($ModulePsd1AuthCodeSignature.Status)"
Write-Host "Authenticode Signature for $ModulePsm1 is $($ModulePsm1AuthCodeSignature.Status)"
$ModulePsd1AuthCodeSignature.Status | Should -Be "Valid"
$ModulePsm1AuthCodeSignature.Status | Should -Be "Valid"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/weekly-examples-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: ${{ parameters.BuildAgent }}
timeoutInMinutes: ${{ parameters.PipelineTimeout }}
steps:

- template: ./common-templates/install-sdk.yml
- task: PowerShell@2
name: "ComputeBranch"
displayName: "Compute weekly examples update branch name"
Expand Down
35 changes: 20 additions & 15 deletions .github/workflows/projectsbot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This workflow is used to add new issues to GitHub Projects (Beta)
# This workflow is used to add new issues to GitHub Projects

name: Add PR to project
on:
Expand All @@ -11,7 +11,7 @@ jobs:
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@36464acb844fc53b9b8b2401da68844f6b05ebb0
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ secrets.GRAPHBOT_APP_ID }}
private_key: ${{ secrets.GRAPHBOT_APP_PEM }}
Expand All @@ -25,22 +25,27 @@ jobs:
gh api graphql -f query='
query($org: String!, $number: Int!) {
organization(login: $org){
projectNext(number: $number) {
projectV2(number: $number) {
id
fields(first:20) {
nodes {
id
name
settings
... on ProjectV2SingleSelectField {
id
name
options {
id
name
}
}
}
}
}
}
}' -f org=$ORGANIZATION -F number=$PROJECT_NUMBER > project_data.json

echo 'PROJECT_ID='$(jq '.data.organization.projectNext.id' project_data.json) >> $GITHUB_ENV
echo 'STATUS_FIELD_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "Status") | .id' project_data.json) >> $GITHUB_ENV
echo 'TRIAGE_OPTION_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "Status") |.settings | fromjson.options[] | select(.name=="Needs Triage 🔍") |.id' project_data.json) >> $GITHUB_ENV
echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV
echo 'STATUS_FIELD_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .id' project_data.json) >> $GITHUB_ENV
echo 'TRIAGE_OPTION_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .options[] | select(.name=="Needs Triage 🔍") |.id' project_data.json) >> $GITHUB_ENV

- name: Add Issue to project
env:
Expand All @@ -49,12 +54,12 @@ jobs:
run: |
item_id="$( gh api graphql -f query='
mutation($project:ID!, $issue:ID!) {
addProjectNextItem(input: {projectId: $project, contentId: $issue}) {
projectNextItem {
addProjectV2ItemById(input: {projectId: $project, contentId: $issue}) {
item {
id
}
}
}' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectNextItem.projectNextItem.id')"
}' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectV2ItemById.item.id')"

echo 'ITEM_ID='$item_id >> $GITHUB_ENV

Expand All @@ -69,13 +74,13 @@ jobs:
$status_field: ID!
$status_value: String!
) {
set_status: updateProjectNextItemField(input: {
set_status: updateProjectV2ItemFieldValue(input: {
projectId: $project
itemId: $item
fieldId: $status_field
value: $status_value
value: {singleSelectOptionId: $status_value}
}) {
projectNextItem {
projectV2Item {
id
}
}
Expand Down
6 changes: 3 additions & 3 deletions config/ModuleMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
"versions": {
"authentication": {
"prerelease": "",
"version": "2.2.0"
"version": "2.3.0"
},
"beta": {
"prerelease": "",
"version": "2.2.0"
"version": "2.3.0"
},
"v1.0": {
"prerelease": "",
"version": "2.2.0"
"version": "2.3.0"
}
}
}
Loading