Skip to content

Commit 7f46a1f

Browse files
FehintolaObafemitimayabi2020peombwazengincnotin
authored
Adding AT PoP skeleton (#2511)
* adding "-AT PoP" option to "Set-MgGraphOptions" * Adding AT PoP skeleton --------- Co-authored-by: Tim <timwamalwa@gmail.com> Co-authored-by: Peter Ombwa <peter.ombwa@microsoft.com> Co-authored-by: Peter Ombwa <peombwa@microsoft.com> Co-authored-by: Mustafa Zengin <mzengin88@gmail.com> Co-authored-by: Clément Notin <cnotin@tenable.com> Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com> Co-authored-by: Vincent Biret <vincentbiret@hotmail.com> Co-authored-by: Vincent Biret <vibiret@microsoft.com> Co-authored-by: Subhajit Ray (from Dev Box) <subray@microsoft.com>
1 parent 96a875f commit 7f46a1f

File tree

111 files changed

+185256
-148053
lines changed

Some content is hidden

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

111 files changed

+185256
-148053
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
displayName: Microsoft Graph PowerShell SDK CI Build
3939
timeoutInMinutes: 840
4040
steps:
41+
- script: |
42+
git submodule update --init --recursive
4143
- template: ./common-templates/install-tools.yml
4244
- template: ./common-templates/security-pre-checks.yml
4345

.azure-pipelines/common-templates/checkout.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ steps:
1010
- checkout: self
1111
clean: true
1212
fetchDepth: 1
13-
submodules: true
13+
submodules: recursive
1414
persistCredentials: true
1515

1616
- task: PowerShell@2

.azure-pipelines/common-templates/install-tools.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ steps:
1616
- task: NuGetToolInstaller@1
1717
displayName: Install Nuget
1818

19-
- task: NuGetAuthenticate@0
19+
- task: NuGetAuthenticate@1
2020

2121
- task: PowerShell@2
2222
displayName: Version Check
@@ -30,10 +30,16 @@ steps:
3030
displayName: Install NodeJs
3131
inputs:
3232
versionSpec: 16.x
33-
33+
3434
- task: Npm@1
3535
displayName: Install AutoRest
3636
inputs:
3737
command: custom
3838
customCommand: install -g autorest@latest
3939

40+
- task: Npm@1
41+
displayName: Install Rush
42+
inputs:
43+
command: custom
44+
customCommand: install -g @microsoft/rush
45+

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "autorest.powershell"]
2+
path = autorest.powershell
3+
url = https://github.com/microsoftgraph/autorest.powershell
4+
branch = powershell-v2

autorest.powershell

Submodule autorest.powershell added at 58766ba

config/ModuleMetadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
"versions": {
2828
"authentication": {
2929
"prerelease": "",
30-
"version": "2.11.1"
30+
"version": "2.12.0"
3131
},
3232
"beta": {
3333
"prerelease": "",
34-
"version": "2.11.1"
34+
"version": "2.12.0"
3535
},
3636
"v1.0": {
3737
"prerelease": "",
38-
"version": "2.11.1"
38+
"version": "2.12.0"
3939
}
4040
}
4141
}

config/ModulesMapping.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"Devices.ServiceAnnouncement": "^admin.serviceAnnouncement$|^admin.Actions$|^admin.Functions$",
1212
"DeviceManagement": "^deviceManagement.(deviceCompliancePolicy.*|deviceManagementConfigurationPolicy.*|deviceManagementCompliancePolicy.*|deviceManagementConfigurationSettingDefinition.*|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|windowsQualityUpdateProfile)$|^admin.edge$|^deviceManagement.monitoring$|^users.ListCloudPCs$",
1313
"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)",
14-
"DeviceManagement.Enrollment": "^deviceManagement.(.*Enrollment.*|.*Autopilot.*|.*depOnboarding.*|importedDeviceIdentity|onPremisesConditionalAccessSettings|windowsFeatureUpdateProfile)$|^roleManagement.roleManagement$|^roleManagement.rbacApplicationMultiple$",
14+
"DeviceManagement.Enrollment": "^deviceManagement.(.*Enrollment.*|.*Autopilot.*|.*depOnboarding.*|importedDeviceIdentity|onPremisesConditionalAccessSettings|windowsFeatureUpdateProfile)$|^roleManagement.roleManagement$|^roleManagement.rbacApplicationMultiple$|^roleManagement.unifiedRbacApplication$",
1515
"DeviceManagement.Actions": "^deviceManagement.Actions$",
1616
"DeviceManagement.Functions": "^deviceManagement.Functions$",
1717
"DirectoryObjects": "^directoryObjects\\.",

docs/authentication.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ Before using the provided `-AccessToken` to get Microsoft Graph resources, custo
116116

117117
AT PoP is a security mechanism that binds an access token to a cryptographic key that only the intended recipient has. This prevents unauthorized use of the token by malicious actors. AT PoP enhances data protection, reduces token replay attacks, and enables fine-grained authorization policies.
118118

119+
Note: AT PoP requires WAM to function.
120+
119121
Microsoft Graph PowerShell module supports AT PoP in the following scenario:
120122

121123
- To enable AT PoP on supported devices

0 commit comments

Comments
 (0)