@@ -44,8 +44,9 @@ - (void)setUp
44
44
self.testEnvironment = self.class .confProvider .wwEnvironment ;
45
45
46
46
MSIDTestAutomationAccountConfigurationRequest *accountConfigurationRequest = [MSIDTestAutomationAccountConfigurationRequest new ];
47
- accountConfigurationRequest.federationProviderType = MSIDTestAccountFederationProviderTypeCIAM;
48
-
47
+ accountConfigurationRequest.federationProviderType = MSIDTestAccountFederationProviderTypeCIAMCUD;
48
+ accountConfigurationRequest.additionalQueryParameters = @{@" signInAudience" : @" azureadmyorg" };
49
+
49
50
[self loadTestAccount: accountConfigurationRequest];
50
51
51
52
MSIDTestAutomationAppConfigurationRequest *appConfigurationRequest = [MSIDTestAutomationAppConfigurationRequest new ];
@@ -62,15 +63,15 @@ - (void)setUp
62
63
(void )testInteractiveAndSilentCIAMLogin_withPromptAlways_noLoginHint_andSystemWebView
63
64
{
64
65
MSIDAutomationTestRequest *request = [self .class.confProvider defaultAppRequest: self .testEnvironment targetTenantId: self .primaryAccount.targetTenantId];
65
- request.configurationAuthority = @" https://msidlabciam2 .ciamlogin.com" ;
66
- request.expectedResultAuthority = @" https://msidlabciam2 .ciamlogin.com/f7416cc8-8ea1-4e5c-b230-0c978f81dfc6 " ;
67
- request.cacheAuthority = @" https://msidlabciam2 .ciamlogin.com/f7416cc8-8ea1-4e5c-b230-0c978f81dfc6 " ;
66
+ request.configurationAuthority = @" https://msidlabciam6 .ciamlogin.com" ;
67
+ request.expectedResultAuthority = @" https://msidlabciam6 .ciamlogin.com/fe362aec-5d43-45d1-b730-9755e60dc3b9 " ;
68
+ request.cacheAuthority = @" https://msidlabciam6 .ciamlogin.com/fe362aec-5d43-45d1-b730-9755e60dc3b9 " ;
68
69
request.acquireTokenAuthority = request.cacheAuthority ;
69
70
request.requestScopes = self.testApplication .defaultScopes .msidToString ;
70
71
request.promptBehavior = @" force" ;
71
72
request.redirectUri = @" msauth.com.microsoft.msalautomationapp://auth" ;
72
73
73
- // 1. Do intevractive login
74
+ // 1. Do interactive login
74
75
NSString *homeAccountId = [self runSharedAADLoginWithTestRequest: request];
75
76
XCTAssertNotNil (homeAccountId);
76
77
0 commit comments