Skip to content

Commit f076430

Browse files
authored
Merge pull request #982 from microsoftgraph/dev
1.9.1 Release
2 parents 9cd4853 + 2608a80 commit f076430

File tree

106 files changed

+86137
-80431
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+86137
-80431
lines changed

.azure-pipelines/common-templates/security-postchecks-template.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
steps:
44
- task: CodesignValidation@0
55

6-
- task: CodeIntegrity@0
7-
86
- task: SdtReport@1
97
displayName: "Security Analysis Report"
108
continueOnError: true

.azure-pipelines/generate-auth-module-template.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,10 @@ jobs:
4444
SecretsFilter: '*'
4545
RunAsPreJob: true
4646

47-
- task: PowerShell@2
48-
displayName: 'Install Test Certificate'
49-
inputs:
50-
targetType: 'inline'
51-
script: |
52-
$kvSecretBytes = [System.Convert]::FromBase64String('$(MsGraphPSSDKCertificate)')
53-
$certCollection = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2Collection
54-
$certCollection.Import($kvSecretBytes,$null,[System.Security.Cryptography.X509Certificates.X509KeyStorageFlags]::Exportable)
55-
$store = New-Object System.Security.Cryptography.X509Certificates.X509Store("My", "CurrentUser")
56-
$store.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)
57-
$store.AddRange($certCollection)
58-
$store.Close()
59-
6047
- task: PowerShell@2
6148
displayName: 'Generate and Build Auth Module'
49+
env:
50+
CLIENTCERTIFICATE: $(MsGraphPSSDKCertificate)
6251
inputs:
6352
targetType: 'inline'
6453
pwsh: true

.azure-pipelines/integrated-pipeline.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,24 +72,14 @@ stages:
7272
KeyVaultName: $(KEYVAULT)
7373
SecretsFilter: '*'
7474
RunAsPreJob: true
75-
76-
- task: PowerShell@2
77-
displayName: 'Install Test Certificate'
78-
inputs:
79-
targetType: 'inline'
80-
script: |
81-
$kvSecretBytes = [System.Convert]::FromBase64String('$(MsGraphPSSDKCertificate)')
82-
$certCollection = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2Collection
83-
$certCollection.Import($kvSecretBytes,$null,[System.Security.Cryptography.X509Certificates.X509KeyStorageFlags]::Exportable)
84-
$store = New-Object System.Security.Cryptography.X509Certificates.X509Store("My", "CurrentUser")
85-
$store.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)
86-
$store.AddRange($certCollection)
87-
$store.Close()
8875

8976
- stage: SecurityPreChecks
9077
displayName: 'Security Pre Checks'
9178
jobs:
92-
- template: ./security-prechecks-template.yml
79+
- job: MsGraphPSSDKSecurityPreChecks
80+
displayName: Microsoft Graph PowerShell SDK Security Pre Checks
81+
steps:
82+
- template: ./common-templates/security-prechecks-template.yml
9383

9484
- stage: GenerateAuthModule
9585
displayName: 'Generate Authentication Module (Microsoft.Graph.Authentication)'
@@ -133,4 +123,7 @@ stages:
133123
- stage: SecurityPostChecks
134124
displayName: 'Security Post Checks'
135125
jobs:
136-
- template: ./security-postchecks-template.yml
126+
- job: MsGraphPSSDKSecurityPostChecks
127+
displayName: Microsoft Graph PowerShell SDK Security Post Checks
128+
steps:
129+
- template: ./common-templates/security-postchecks-template.yml

.azure-pipelines/security-postchecks-template.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.azure-pipelines/security-prechecks-template.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.
5.53 MB
Binary file not shown.

config/ModuleMetadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
],
2323
"releaseNotes": "See https://aka.ms/GraphPowerShell-Release.",
2424
"assemblyOriginatorKeyFile": "35MSSharedLib1024.snk",
25-
"version": "1.9.0"
25+
"version": "1.9.1"
2626
}

openApiDocs/beta/Applications.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19815,7 +19815,7 @@ components:
1981519815
createdDateTime:
1981619816
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])$'
1981719817
type: string
19818-
description: 'The date and time the application was registered. The DateTimeOffset 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. Supports $filter (eq, ne, NOT, ge, le, in, and eq on null values) and $orderBy.'
19818+
description: 'The date and time the application was registered. The DateTimeOffset 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. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy.'
1981919819
format: date-time
1982019820
nullable: true
1982119821
defaultRedirectUri:
@@ -19824,15 +19824,15 @@ components:
1982419824
nullable: true
1982519825
description:
1982619826
type: string
19827-
description: 'An optional description of the application. Supports $filter (eq, ne, NOT, ge, le, startsWith) and $search.'
19827+
description: 'Free text field to provide a description of the application object to end users. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search.'
1982819828
nullable: true
1982919829
disabledByMicrosoftStatus:
1983019830
type: string
19831-
description: 'Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, NOT).'
19831+
description: 'Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not).'
1983219832
nullable: true
1983319833
displayName:
1983419834
type: string
19835-
description: 'The display name for the application. Supports $filter (eq, ne, NOT, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.'
19835+
description: 'The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.'
1983619836
nullable: true
1983719837
groupMembershipClaims:
1983819838
type: string
@@ -19857,7 +19857,7 @@ components:
1985719857
type: array
1985819858
items:
1985919859
$ref: '#/components/schemas/microsoft.graph.keyCredential'
19860-
description: 'The collection of key credentials associated with the application. Not nullable. Supports $filter (eq, NOT, ge, le).'
19860+
description: 'The collection of key credentials associated with the application. Not nullable. Supports $filter (eq, not, ge, le).'
1986119861
logo:
1986219862
type: string
1986319863
description: The main logo for the application. Not nullable.
@@ -19885,18 +19885,18 @@ components:
1988519885
type: array
1988619886
items:
1988719887
$ref: '#/components/schemas/microsoft.graph.requiredResourceAccess'
19888-
description: 'Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. Not nullable. Supports $filter (eq, NOT, ge, le).'
19888+
description: 'Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. Not nullable. Supports $filter (eq, not, ge, le).'
1988919889
signInAudience:
1989019890
type: string
19891-
description: 'Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, NOT).'
19891+
description: 'Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, not).'
1989219892
nullable: true
1989319893
spa:
1989419894
$ref: '#/components/schemas/microsoft.graph.spaApplication'
1989519895
tags:
1989619896
type: array
1989719897
items:
1989819898
type: string
19899-
description: 'Custom strings that can be used to categorize and identify the application. Not nullable. Supports $filter (eq, NOT, ge, le, startsWith).'
19899+
description: 'Custom strings that can be used to categorize and identify the application. Not nullable. Supports $filter (eq, not, ge, le, startsWith).'
1990019900
tokenEncryptionKeyId:
1990119901
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}$'
1990219902
type: string
@@ -20707,7 +20707,7 @@ components:
2070720707
$ref: '#/components/schemas/microsoft.graph.passwordSingleSignOnSettings'
2070820708
accountEnabled:
2070920709
type: boolean
20710-
description: 'true if the service principal account is enabled; otherwise, false. Supports $filter (eq, ne, NOT, in).'
20710+
description: 'true if the service principal account is enabled; otherwise, false. Supports $filter (eq, ne, not, in).'
2071120711
nullable: true
2071220712
addIns:
2071320713
type: array
@@ -20718,7 +20718,7 @@ components:
2071820718
type: array
2071920719
items:
2072020720
type: string
20721-
description: 'Used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities. Supports $filter (eq, NOT, ge, le, startsWith).'
20721+
description: 'Used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities. Supports $filter (eq, not, ge, le, startsWith).'
2072220722
appDescription:
2072320723
type: string
2072420724
description: The description exposed by the associated application.
@@ -20729,7 +20729,7 @@ components:
2072920729
nullable: true
2073020730
appId:
2073120731
type: string
20732-
description: The unique identifier for the associated application (its appId property).
20732+
description: 'The unique identifier for the associated application (its appId property). Supports $filter (eq, ne, not, in, startsWith).'
2073320733
nullable: true
2073420734
applicationTemplateId:
2073520735
type: string
@@ -20753,15 +20753,15 @@ components:
2075320753
$ref: '#/components/schemas/microsoft.graph.customSecurityAttributeValue'
2075420754
description:
2075520755
type: string
20756-
description: 'Free text field to provide an internal end-user facing description of the service principal. End-user portals such MyApps will display the application description in this field. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, NOT, ge, le, startsWith) and $search.'
20756+
description: 'Free text field to provide an internal end-user facing description of the service principal. End-user portals such MyApps will display the application description in this field. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search.'
2075720757
nullable: true
2075820758
disabledByMicrosoftStatus:
2075920759
type: string
20760-
description: 'Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, NOT).'
20760+
description: 'Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not).'
2076120761
nullable: true
2076220762
displayName:
2076320763
type: string
20764-
description: 'The display name for the service principal. Supports $filter (eq, ne, NOT, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.'
20764+
description: 'The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.'
2076520765
nullable: true
2076620766
errorUrl:
2076720767
type: string
@@ -20777,7 +20777,7 @@ components:
2077720777
type: array
2077820778
items:
2077920779
$ref: '#/components/schemas/microsoft.graph.keyCredential'
20780-
description: 'The collection of key credentials associated with the service principal. Not nullable. Supports $filter (eq, NOT, ge, le).'
20780+
description: 'The collection of key credentials associated with the service principal. Not nullable. Supports $filter (eq, not, ge, le).'
2078120781
loginUrl:
2078220782
type: string
2078320783
description: 'Specifies the URL where the service provider redirects the user to Azure AD to authenticate. Azure AD uses the URL to launch the application from Microsoft 365 or the Azure AD My Apps. When blank, Azure AD performs IdP-initiated sign-on for applications configured with SAML-based single sign-on. The user launches the application from Microsoft 365, the Azure AD My Apps, or the Azure AD SSO URL.'
@@ -20837,7 +20837,7 @@ components:
2083720837
type: array
2083820838
items:
2083920839
type: string
20840-
description: 'Contains the list of identifiersUris, copied over from the associated application. Additional values can be added to hybrid applications. These values can be used to identify the permissions exposed by this app within Azure AD. For example,Client apps can specify a resource URI which is based on the values of this property to acquire an access token, which is the URI returned in the ''aud'' claim.The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, NOT, ge, le, startsWith).'
20840+
description: 'Contains the list of identifiersUris, copied over from the associated application. Additional values can be added to hybrid applications. These values can be used to identify the permissions exposed by this app within Azure AD. For example,Client apps can specify a resource URI which is based on the values of this property to acquire an access token, which is the URI returned in the ''aud'' claim.The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, not, ge, le, startsWith).'
2084120841
servicePrincipalType:
2084220842
type: string
2084320843
description: 'Identifies whether the service principal represents an application, a managed identity, or a legacy application. This is set by Azure AD internally. The servicePrincipalType property can be set to three different values: __Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens are not issued for the service principal.__ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but cannot be updated or modified directly.__Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. Legacy service principal can have credentials, service principal names, reply URLs, and other properties which are editable by an authorized user, but does not have an associated app registration. The appId value does not associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.__SocialIdp - For internal use.'
@@ -20850,7 +20850,7 @@ components:
2085020850
type: array
2085120851
items:
2085220852
type: string
20853-
description: 'Custom strings that can be used to categorize and identify the service principal. Not nullable. Supports $filter (eq, NOT, ge, le, startsWith).'
20853+
description: 'Custom strings that can be used to categorize and identify the service principal. Not nullable. Supports $filter (eq, not, ge, le, startsWith).'
2085420854
tokenEncryptionKeyId:
2085520855
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}$'
2085620856
type: string

0 commit comments

Comments
 (0)