Skip to content

Commit 7b23def

Browse files
authored
Merge pull request #9840 from drewnoakes/fix-apiscan-18.0.x-2
Fix APIScan auth issue (take two)
2 parents 29f3402 + bba359f commit 7b23def

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/pipelines/templates/analyze-compliance.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ steps:
3535
isLargeApp: true
3636
verbosityLevel: minimal
3737
preserveTempFiles: true
38+
azureSubscription: 'VSEng-APIScanSC'
3839
# APIScan requires an Azure Identity to run. That is provided via an Azure service principal.
3940
# - https://microsoft.sharepoint.com/teams/apiscan/APIScan%20User%20Wiki/authentication_using_AAD_identities.aspx
4041
# - https://microsoft.sharepoint.com/teams/apiscan/Lists/Contacts%20%20System%20Account%20and%20Wrappers/AllItems.aspx?skipSignal=true
4142
# This value is provided from the DotNet-Project-System variable group, defined in the stage variables.
4243
env:
43-
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId)
44+
AzureServicesAuthConnectionString: RunAs=App;AppId=d318cba7-db4d-4fb3-99e1-01879cb74e91;TenantId=72f988bf-86f1-41af-91ab-2d7cd011db47;ServiceConnectionId=93e24264-c5e6-4681-8175-ec8a41668480;
4445
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

0 commit comments

Comments
 (0)