@@ -841,12 +841,14 @@ def test_user_account(self):
841841
842842
843843class WorldWideTestCase (LabBasedTestCase ):
844+ _ADFS_LABS_DECOMMISSIONED = "ADFS labs were decommissioned since July 2025 until further notice"
844845
845846 def test_aad_managed_user (self ): # Pure cloud
846847 config = self .get_lab_user (usertype = "cloud" )
847848 config ["password" ] = self .get_lab_user_secret (config ["lab_name" ])
848849 self ._test_username_password (** config )
849850
851+ @unittest .skip (_ADFS_LABS_DECOMMISSIONED )
850852 def test_adfs4_fed_user (self ):
851853 config = self .get_lab_user (usertype = "federated" , federationProvider = "ADFSv4" )
852854 config ["password" ] = self .get_lab_user_secret (config ["lab_name" ])
@@ -864,6 +866,7 @@ def test_adfs2_fed_user(self):
864866 config ["password" ] = self .get_lab_user_secret (config ["lab_name" ])
865867 self ._test_username_password (** config )
866868
869+ @unittest .skip (_ADFS_LABS_DECOMMISSIONED )
867870 def test_adfs2019_fed_user (self ):
868871 try :
869872 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):
892895 prompt = "select_account" , # In MSAL Python, this resets login_hint
893896 ))
894897
898+ @unittest .skip (_ADFS_LABS_DECOMMISSIONED )
895899 def test_ropc_adfs2019_onprem (self ):
896900 # 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
897901 config = self .get_lab_user (usertype = "onprem" , federationProvider = "ADFSv2019" )
@@ -900,6 +904,7 @@ def test_ropc_adfs2019_onprem(self):
900904 config ["password" ] = self .get_lab_user_secret (config ["lab_name" ])
901905 self ._test_username_password (** config )
902906
907+ @unittest .skip (_ADFS_LABS_DECOMMISSIONED )
903908 def test_adfs2019_onprem_acquire_token_by_auth_code (self ):
904909 """When prompted, you can manually login using this account:
905910
@@ -913,6 +918,7 @@ def test_adfs2019_onprem_acquire_token_by_auth_code(self):
913918 config ["port" ] = 8080
914919 self ._test_acquire_token_by_auth_code (** config )
915920
921+ @unittest .skip (_ADFS_LABS_DECOMMISSIONED )
916922 def test_adfs2019_onprem_acquire_token_by_auth_code_flow (self ):
917923 config = self .get_lab_user (usertype = "onprem" , federationProvider = "ADFSv2019" )
918924 self ._test_acquire_token_by_auth_code_flow (** dict (
@@ -922,6 +928,7 @@ def test_adfs2019_onprem_acquire_token_by_auth_code_flow(self):
922928 port = 8080 ,
923929 ))
924930
931+ @unittest .skip (_ADFS_LABS_DECOMMISSIONED )
925932 def test_adfs2019_onprem_acquire_token_interactive (self ):
926933 config = self .get_lab_user (usertype = "onprem" , federationProvider = "ADFSv2019" )
927934 self ._test_acquire_token_interactive (** dict (
0 commit comments