Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ parameters:
type: string
default: ""
- name: BUILDAGENT
default: MsGraphBuildAgentsWindows
default: MsGraphBuildAgentsWindowsPsSDK
displayName: Build Agent

steps:
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/integrated-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

- name: AzureSubscription
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/weekly-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: $(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)

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

variables:
Expand Down
82 changes: 82 additions & 0 deletions .github/workflows/projectsbot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# This workflow is used to add new issues to GitHub Projects (Beta)

name: Add PR to project
on:
issues:
types:
- opened
jobs:
track_issue:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@36464acb844fc53b9b8b2401da68844f6b05ebb0
with:
app_id: ${{ secrets.GRAPHBOT_APP_ID }}
private_key: ${{ secrets.GRAPHBOT_APP_PEM }}

- name: Get project data
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
ORGANIZATION: microsoftgraph
PROJECT_NUMBER: 24
run: |
gh api graphql -f query='
query($org: String!, $number: Int!) {
organization(login: $org){
projectNext(number: $number) {
id
fields(first:20) {
nodes {
id
name
settings
}
}
}
}
}' -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

- name: Add Issue to project
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
ISSUE_ID: ${{ github.event.issue.node_id }}
run: |
item_id="$( gh api graphql -f query='
mutation($project:ID!, $issue:ID!) {
addProjectNextItem(input: {projectId: $project, contentId: $issue}) {
projectNextItem {
id
}
}
}' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectNextItem.projectNextItem.id')"

echo 'ITEM_ID='$item_id >> $GITHUB_ENV

- name: Set Triage
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
run: |
gh api graphql -f query='
mutation (
$project: ID!
$item: ID!
$status_field: ID!
$status_value: String!
) {
set_status: updateProjectNextItemField(input: {
projectId: $project
itemId: $item
fieldId: $status_field
value: $status_value
}) {
projectNextItem {
id
}
}
}' -f project=$PROJECT_ID -f item=$ITEM_ID -f status_field=$STATUS_FIELD_ID -f status_value=${{ env.TRIAGE_OPTION_ID }} --silent
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.3"
"version": "1.9.4"
}
40 changes: 33 additions & 7 deletions openApiDocs/beta/Applications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4884,6 +4884,8 @@ paths:
- displayName desc
- homePageUrl
- homePageUrl desc
- informationalUrls
- informationalUrls desc
- logoUrl
- logoUrl desc
- publisher
Expand All @@ -4908,6 +4910,7 @@ paths:
- description
- displayName
- homePageUrl
- informationalUrls
- logoUrl
- publisher
- supportedProvisioningTypes
Expand Down Expand Up @@ -4999,6 +5002,7 @@ paths:
- description
- displayName
- homePageUrl
- informationalUrls
- logoUrl
- publisher
- supportedProvisioningTypes
Expand Down Expand Up @@ -20014,14 +20018,12 @@ components:
properties:
isEnabled:
type: boolean
description: Denotes whether the policy is enabled.
restrictions:
$ref: '#/components/schemas/microsoft.graph.appManagementConfiguration'
appliesTo:
type: array
items:
$ref: '#/components/schemas/microsoft.graph.directoryObject'
description: Collection of application and service principals to which a policy is applied.
additionalProperties:
type: object
microsoft.graph.connectorGroup:
Expand Down Expand Up @@ -20061,6 +20063,7 @@ components:
deletedDateTime:
pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$'
type: string
description: Date and time when this object was deleted. Always null when the object hasn't been deleted.
format: date-time
nullable: true
additionalProperties:
Expand Down Expand Up @@ -20543,6 +20546,8 @@ components:
type: string
description: The home page URL of the application.
nullable: true
informationalUrls:
$ref: '#/components/schemas/microsoft.graph.informationalUrls'
logoUrl:
type: string
description: The URL to get the logo for this application.
Expand Down Expand Up @@ -20589,7 +20594,7 @@ components:
creationTimestamp:
pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$'
type: string
description: 'The time when the app role assignment was created.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.'
description: 'The time when the app role assignment was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.'
format: date-time
nullable: true
principalDisplayName:
Expand All @@ -20599,12 +20604,12 @@ components:
principalId:
pattern: '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$'
type: string
description: 'The unique identifier (id) for the user, group or service principal being granted the app role. Required on create.'
description: 'The unique identifier (id) for the user, group, or service principal being granted the app role. Required on create.'
format: uuid
nullable: true
principalType:
type: string
description: 'The type of the assigned principal. This can either be User, Group or ServicePrincipal. Read-only.'
description: 'The type of the assigned principal. This can either be User, Group, or ServicePrincipal. Read-only.'
nullable: true
resourceDisplayName:
type: string
Expand Down Expand Up @@ -21078,38 +21083,47 @@ components:
properties:
customKeyIdentifier:
type: string
description: Custom key identifier.
format: base64url
nullable: true
displayName:
type: string
description: The friendly name for the key.
nullable: true
endDateTime:
pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$'
type: string
description: 'The date and time at which the credential expires. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.'
format: date-time
nullable: true
key:
type: string
description: The value for the key credential. Should be a base-64 encoded value.
format: base64url
nullable: true
keyId:
pattern: '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$'
type: string
description: The unique identifier (GUID) for the key.
format: uuid
nullable: true
startDateTime:
pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$'
type: string
description: 'The date and time at which the credential becomes valid. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.'
format: date-time
nullable: true
thumbprint:
type: string
description: The thumbprint value for the key.
nullable: true
type:
type: string
description: The type of key credential. 'AsymmetricX509Cert'.
nullable: true
usage:
type: string
description: 'A string that describes the purpose for which the key can be used. For example, ''Verify''.'
nullable: true
additionalProperties:
type: object
Expand Down Expand Up @@ -21173,7 +21187,7 @@ components:
description: The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user.
scope:
type: string
description: 'A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal.'
description: 'A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the oauth2PermissionScopes property of the resource service principal.'
nullable: true
startTime:
pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$'
Expand Down Expand Up @@ -21945,6 +21959,18 @@ components:
$ref: '#/components/schemas/microsoft.graph.attributeMappingSourceType'
additionalProperties:
type: object
microsoft.graph.informationalUrls:
title: informationalUrls
type: object
properties:
appSignUpUrl:
type: string
nullable: true
singleSignOnDocumentationUrl:
type: string
nullable: true
additionalProperties:
type: object
microsoft.graph.hybridAgentUpdaterConfiguration:
title: hybridAgentUpdaterConfiguration
type: object
Expand Down Expand Up @@ -22269,7 +22295,7 @@ components:
restrictForAppsCreatedAfterDateTime:
pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$'
type: string
description: 'Enforces the policy for an app created on or after the enforcement date. For existing applications, the enforcement date would be back dated. To apply to all applications, enforcement datetime would be null.'
description: 'Enforces the policy for an app created on or after the enforcement date. For existing applications, the enforcement date would be backdated. To apply to all applications, this date would be null.'
format: date-time
nullable: true
restrictionType:
Expand Down
4 changes: 2 additions & 2 deletions openApiDocs/beta/Bookings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2611,7 +2611,7 @@ components:
maximum: 2147483647
minimum: -2147483648
type: integer
description: The maximum number of customers allowed in an appointment.
description: 'The maximum number of customers allowed in an appointment. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation.'
format: int32
onlineMeetingUrl:
type: string
Expand Down Expand Up @@ -2757,7 +2757,7 @@ components:
maximum: 2147483647
minimum: -2147483648
type: integer
description: The maximum number of customers allowed in a service.
description: 'The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation.'
format: int32
notes:
type: string
Expand Down
Loading