@@ -89,8 +89,9 @@ public async Task RefreshOnIsEnabled(bool useRegional)
8989
9090 [ DataTestMethod ]
9191 [ DataRow ( Cloud . Public , TargetFrameworks . NetFx | TargetFrameworks . NetCore ) ]
92+ #if ! IGNORE_FEDERATED
9293 [ DataRow ( Cloud . Adfs , TargetFrameworks . NetFx | TargetFrameworks . NetCore ) ]
93- //[DataRow(Cloud.PPE, TargetFrameworks.NetFx)]
94+ #endif
9495 [ DataRow ( Cloud . Public , TargetFrameworks . NetCore , true ) ]
9596 //[DataRow(Cloud.Arlington)] - cert not setup
9697 public async Task WithCertificate_TestAsync ( Cloud cloud , TargetFrameworks runOn , bool useAppIdUri = false )
@@ -101,9 +102,10 @@ public async Task WithCertificate_TestAsync(Cloud cloud, TargetFrameworks runOn,
101102
102103 [ DataTestMethod ]
103104 [ DataRow ( Cloud . Public , TargetFrameworks . NetCore ) ]
105+ #if ! IGNORE_FEDERATED
104106 [ DataRow ( Cloud . Adfs , TargetFrameworks . NetFx ) ]
107+ #endif
105108 [ DataRow ( Cloud . Arlington , TargetFrameworks . NetCore ) ]
106- //[DataRow(Cloud.PPE)] - secret not setup
107109 public async Task WithSecret_TestAsync ( Cloud cloud , TargetFrameworks runOn )
108110 {
109111 runOn . AssertFramework ( ) ;
@@ -112,8 +114,9 @@ public async Task WithSecret_TestAsync(Cloud cloud, TargetFrameworks runOn)
112114
113115 [ DataTestMethod ]
114116 [ DataRow ( Cloud . Public , TargetFrameworks . NetCore ) ]
117+ #if ! IGNORE_FEDERATED
115118 [ DataRow ( Cloud . Adfs , TargetFrameworks . NetCore ) ]
116- //[DataRow(Cloud.PPE, TargetFrameworks.NetCore)]
119+ #endif
117120 // [DataRow(Cloud.Arlington)] - cert not setup
118121 public async Task WithClientAssertion_Manual_TestAsync ( Cloud cloud , TargetFrameworks runOn )
119122 {
@@ -123,8 +126,9 @@ public async Task WithClientAssertion_Manual_TestAsync(Cloud cloud, TargetFramew
123126
124127 [ DataTestMethod ]
125128 [ DataRow ( Cloud . Public , TargetFrameworks . NetFx ) ]
129+ #if ! IGNORE_FEDERATED
126130 [ DataRow ( Cloud . Adfs , TargetFrameworks . NetFx ) ]
127- //[DataRow(Cloud.PPE, TargetFrameworks.NetCore)]
131+ #endif
128132 // [DataRow(Cloud.Arlington)] - cert not setup
129133 public async Task WithClientAssertion_Wilson_TestAsync ( Cloud cloud , TargetFrameworks runOn )
130134 {
@@ -143,7 +147,9 @@ public async Task WithClientClaims_ExtraClaims_TestAsync(Cloud cloud, TargetFram
143147
144148 [ DataTestMethod ]
145149 [ DataRow ( Cloud . Public , TargetFrameworks . NetFx ) ]
150+ #if ! IGNORE_FEDERATED
146151 [ DataRow ( Cloud . Adfs , TargetFrameworks . NetCore ) ]
152+ #endif
147153 // [DataRow(Cloud.Arlington)] - cert not setup
148154 public async Task WithClientClaims_OverrideClaims_TestAsync ( Cloud cloud , TargetFrameworks runOn )
149155 {
@@ -162,7 +168,9 @@ public async Task WithClientClaims_SendX5C_ExtraClaims_TestAsync(Cloud cloud, Ta
162168
163169 [ DataTestMethod ]
164170 [ DataRow ( Cloud . Public , TargetFrameworks . NetFx ) ]
171+ #if ! IGNORE_FEDERATED
165172 [ DataRow ( Cloud . Adfs , TargetFrameworks . NetCore ) ]
173+ #endif
166174 // [DataRow(Cloud.Arlington)] - cert not setup
167175 public async Task WithClientClaims_SendX5C_OverrideClaims_TestAsync ( Cloud cloud , TargetFrameworks runOn )
168176 {
@@ -223,12 +231,12 @@ public async Task ByRefreshTokenTestAsync()
223231 . WithAuthority ( labResponse . Lab . Authority , "organizations" )
224232 . BuildConcrete ( ) ;
225233
226- #pragma warning disable CS0618 // Type or member is obsolete
234+ #pragma warning disable CS0618 // Type or member is obsolete
227235 AuthenticationResult authResult = await msalPublicClient
228236 . AcquireTokenByUsernamePassword ( s_scopes , labResponse . User . Upn , labResponse . User . GetOrFetchPassword ( ) )
229237 . ExecuteAsync ( CancellationToken . None )
230238 . ConfigureAwait ( false ) ;
231- #pragma warning restore CS0618
239+ #pragma warning restore CS0618
232240
233241 var confidentialApp = ConfidentialClientApplicationBuilder
234242 . Create ( labResponse . App . AppId )
0 commit comments