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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .azure-pipelines/common-templates/checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ 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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
# Bump meta-module minor version
Write-Host "Bumping Microsoft.Graph to $NewMetaModuleVersion."
& "$(System.DefaultWorkingDirectory)\tools\SetMetaModuleVersion.ps1" -VersionNumber $NewMetaModuleVersion
& "$(System.DefaultWorkingDirectory)\tools\SetServiceModuleVersion.ps1" -VersionNumber $NewMetaModuleVersion -SetAuthModule

# Calculate existing service module version
"$(OpenAPIDocDiff.ModulesWithChanges)" -split " " | ForEach-Object {
Expand All @@ -107,7 +108,6 @@ jobs:
$ModuleVersion = [System.Version]($Module.Version)
$NewModuleVersion = "$($ModuleVersion.Major).$($ModuleVersion.Minor).$($ModuleVersion.Build + 1)"
Write-Host "Bumping $_ to $NewModuleVersion."
. "$(System.DefaultWorkingDirectory)\tools\SetServiceModuleVersion.ps1" -VersionNumber $NewModuleVersion -Modules $_
} catch {
if ($_.Exception.Message -like "No match*") {
Write-Warning "$_. Version will be set to $NewMetaModuleVersion."
Expand Down
10 changes: 8 additions & 2 deletions .azure-pipelines/common-templates/install-tools-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ steps:
Write-Host (Get-Host).Version

- task: NodeTool@0
displayName: 'Install NodeJs 14.11.0'
displayName: 'Install NodeJs'
inputs:
versionSpec: '14.11.0'
versionSpec: '14.18.2'
checkLatest: true # Optional

- task: Npm@1
Expand All @@ -51,6 +51,12 @@ steps:
command: 'custom'
customCommand: 'install -g autorest@latest'

- task: Npm@1
displayName: 'Install Rush'
inputs:
command: 'custom'
customCommand: 'install -g @microsoft/rush'

- task: PowerShell@2
displayName: 'Register PS Repository'
inputs:
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "autorest.powershell"]
path = autorest.powershell
url = https://github.com/Azure/autorest.powershell.git
branch = msgraph
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ There is a set of samples in the `samples` folder to help in getting started wit

``` powershell
# Using your own access token.
Connect-MgGraph -Scopes "User.Read.All", "Group.ReadWrite.All" -AccessToken $AccessToken
Connect-MgGraph -AccessToken $AccessToken
```

- App-only access via Client Credential with a certificate.
Expand Down
Binary file removed assets/autorest-powershell-2.1.402.tgz
Binary file not shown.
Binary file removed assets/autorest-powershell-2.1.500.tgz
Binary file not shown.
Binary file removed assets/autorest-powershell-2.1.600.tgz
Binary file not shown.
1 change: 1 addition & 0 deletions autorest.powershell
Submodule autorest.powershell added at 0132d2
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.1"
"version": "1.9.2"
}
2 changes: 1 addition & 1 deletion config/ModulesMapping.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Applications": "^applicationTemplates\\.|^applications\\.|^servicePrincipals\\.|^onPremisesPublishingProfiles\\.|^users.appRoleAssignment$|^groups.appRoleAssignment$",
"Bookings": "^bookingBusinesses\\.|^bookingCurrencies\\.",
"Bookings": "^solutions\\.|^bookingBusinesses\\.|^bookingCurrencies\\.",
"Calendar": "^places\\.|^users.calendar$|^users.calendarGroup$|^users.event$|^groups.calendar$|^groups.event$",
"ChangeNotifications": "^subscriptions\\.",
"CloudCommunications": "^users.onlineMeeting$|^users.presence$|^communications\\.",
Expand Down
66 changes: 65 additions & 1 deletion openApiDocs/beta/Applications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ paths:
- appId desc
- appRoles
- appRoles desc
- certification
- certification desc
- createdDateTime
- createdDateTime desc
- defaultRedirectUri
Expand Down Expand Up @@ -117,6 +119,7 @@ paths:
- api
- appId
- appRoles
- certification
- createdDateTime
- defaultRedirectUri
- description
Expand Down Expand Up @@ -260,6 +263,7 @@ paths:
- api
- appId
- appRoles
- certification
- createdDateTime
- defaultRedirectUri
- description
Expand Down Expand Up @@ -9031,6 +9035,8 @@ paths:
- appId desc
- appRoles
- appRoles desc
- certification
- certification desc
- createdDateTime
- createdDateTime desc
- defaultRedirectUri
Expand Down Expand Up @@ -9101,6 +9107,7 @@ paths:
- api
- appId
- appRoles
- certification
- createdDateTime
- defaultRedirectUri
- description
Expand Down Expand Up @@ -9231,6 +9238,8 @@ paths:
- appId desc
- appRoles
- appRoles desc
- certification
- certification desc
- createdDateTime
- createdDateTime desc
- defaultRedirectUri
Expand Down Expand Up @@ -10598,6 +10607,8 @@ paths:
- appId desc
- appRoles
- appRoles desc
- certification
- certification desc
- createdDateTime
- createdDateTime desc
- defaultRedirectUri
Expand Down Expand Up @@ -10668,6 +10679,7 @@ paths:
- api
- appId
- appRoles
- certification
- createdDateTime
- defaultRedirectUri
- description
Expand Down Expand Up @@ -10805,6 +10817,8 @@ paths:
- appId desc
- appRoles
- appRoles desc
- certification
- certification desc
- createdDateTime
- createdDateTime desc
- defaultRedirectUri
Expand Down Expand Up @@ -19812,6 +19826,8 @@ components:
items:
$ref: '#/components/schemas/microsoft.graph.appRole'
description: 'The collection of roles assigned to the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.'
certification:
$ref: '#/components/schemas/microsoft.graph.certification'
createdDateTime:
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
Expand Down Expand Up @@ -21198,6 +21214,36 @@ components:
nullable: true
additionalProperties:
type: object
microsoft.graph.certification:
title: certification
type: object
properties:
certificationDetailsUrl:
type: string
description: URL that shows certification details for the application.
nullable: true
certificationExpirationDateTime:
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 timestamp when the current certification for the application will expire.
format: date-time
nullable: true
isCertifiedByMicrosoft:
type: boolean
description: Indicates whether the application is certified by Microsoft.
nullable: true
isPublisherAttested:
type: boolean
description: Indicates whether the application has been self-attested by the application developer or the publisher.
nullable: true
lastCertificationDateTime:
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 timestamp when the certification for the application was most recently added or updated.
format: date-time
nullable: true
additionalProperties:
type: object
microsoft.graph.informationalUrl:
title: informationalUrl
type: object
Expand Down Expand Up @@ -21571,6 +21617,8 @@ components:
title: synchronizationJobSubject
type: object
properties:
links:
$ref: '#/components/schemas/microsoft.graph.synchronizationLinkedObjects'
objectId:
type: string
description: The identifier of an object to which a synchronizationJob is to be applied.
Expand Down Expand Up @@ -21940,7 +21988,7 @@ components:
nullable: true
type:
type: string
description: 'Specifies whether this delegated permission should be considered safe for non-admin users to consent to on behalf of themselves, or whether an administrator should be required for consent to the permissions. This will be the default behavior, but each customer can choose to customize the behavior in their organization (by allowing, restricting or limiting user consent to this delegated permission.)'
description: 'The possible values are: User and Admin. Specifies whether this delegated permission should be considered safe for non-admin users to consent to on behalf of themselves, or whether an administrator consent should always be required. While Microsoft Graph defines the default consent requirement for each permission, the tenant administrator may override the behavior in their organization (by allowing, restricting, or limiting user consent to this delegated permission). For more information, see Configure how users consent to applications.'
nullable: true
userConsentDescription:
type: string
Expand Down Expand Up @@ -22316,6 +22364,22 @@ components:
format: int64
additionalProperties:
type: object
microsoft.graph.synchronizationLinkedObjects:
title: synchronizationLinkedObjects
type: object
properties:
manager:
$ref: '#/components/schemas/microsoft.graph.synchronizationJobSubject'
members:
type: array
items:
$ref: '#/components/schemas/microsoft.graph.synchronizationJobSubject'
owners:
type: array
items:
$ref: '#/components/schemas/microsoft.graph.synchronizationJobSubject'
additionalProperties:
type: object
microsoft.graph.objectMapping:
title: objectMapping
type: object
Expand Down
Loading