@@ -841,12 +841,14 @@ def test_user_account(self):
841
841
842
842
843
843
class WorldWideTestCase (LabBasedTestCase ):
844
+ _ADFS_LABS_DECOMMISSIONED = "ADFS labs were decommissioned since July 2025 until further notice"
844
845
845
846
def test_aad_managed_user (self ): # Pure cloud
846
847
config = self .get_lab_user (usertype = "cloud" )
847
848
config ["password" ] = self .get_lab_user_secret (config ["lab_name" ])
848
849
self ._test_username_password (** config )
849
850
851
+ @unittest .skip (_ADFS_LABS_DECOMMISSIONED )
850
852
def test_adfs4_fed_user (self ):
851
853
config = self .get_lab_user (usertype = "federated" , federationProvider = "ADFSv4" )
852
854
config ["password" ] = self .get_lab_user_secret (config ["lab_name" ])
@@ -864,6 +866,7 @@ def test_adfs2_fed_user(self):
864
866
config ["password" ] = self .get_lab_user_secret (config ["lab_name" ])
865
867
self ._test_username_password (** config )
866
868
869
+ @unittest .skip (_ADFS_LABS_DECOMMISSIONED )
867
870
def test_adfs2019_fed_user (self ):
868
871
try :
869
872
config = self .get_lab_user (usertype = "federated" , federationProvider = "ADFSv2019" )
@@ -892,6 +895,7 @@ def test_msa_pt_app_signin_via_organizations_authority_without_login_hint(self):
892
895
prompt = "select_account" , # In MSAL Python, this resets login_hint
893
896
))
894
897
898
+ @unittest .skip (_ADFS_LABS_DECOMMISSIONED )
895
899
def test_ropc_adfs2019_onprem (self ):
896
900
# Configuration is derived from https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/4.7.0/tests/Microsoft.Identity.Test.Common/TestConstants.cs#L250-L259
897
901
config = self .get_lab_user (usertype = "onprem" , federationProvider = "ADFSv2019" )
@@ -900,6 +904,7 @@ def test_ropc_adfs2019_onprem(self):
900
904
config ["password" ] = self .get_lab_user_secret (config ["lab_name" ])
901
905
self ._test_username_password (** config )
902
906
907
+ @unittest .skip (_ADFS_LABS_DECOMMISSIONED )
903
908
def test_adfs2019_onprem_acquire_token_by_auth_code (self ):
904
909
"""When prompted, you can manually login using this account:
905
910
@@ -913,6 +918,7 @@ def test_adfs2019_onprem_acquire_token_by_auth_code(self):
913
918
config ["port" ] = 8080
914
919
self ._test_acquire_token_by_auth_code (** config )
915
920
921
+ @unittest .skip (_ADFS_LABS_DECOMMISSIONED )
916
922
def test_adfs2019_onprem_acquire_token_by_auth_code_flow (self ):
917
923
config = self .get_lab_user (usertype = "onprem" , federationProvider = "ADFSv2019" )
918
924
self ._test_acquire_token_by_auth_code_flow (** dict (
@@ -922,6 +928,7 @@ def test_adfs2019_onprem_acquire_token_by_auth_code_flow(self):
922
928
port = 8080 ,
923
929
))
924
930
931
+ @unittest .skip (_ADFS_LABS_DECOMMISSIONED )
925
932
def test_adfs2019_onprem_acquire_token_interactive (self ):
926
933
config = self .get_lab_user (usertype = "onprem" , federationProvider = "ADFSv2019" )
927
934
self ._test_acquire_token_interactive (** dict (
0 commit comments