--- title: "Replace usage of the xp_sqlagent_proxy_account extended stored procedure with new stored procedures | Microsoft Docs" ms.custom: "" ms.date: "06/13/2017" ms.prod: "sql-server-2014" ms.reviewer: "" ms.technology: "database-engine" ms.topic: conceptual helpviewer_keywords: - "xp_sqlagent_proxy_account" ms.assetid: 0e3cc931-6237-41dd-bf0d-0c03f4d8fff2 author: mashamsft ms.author: mathoma manager: craigg --- # Replace usage of the xp_sqlagent_proxy_account extended stored procedure with new stored procedures [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent supports multiple proxies. You define these proxies by using a new set of stored procedures. For more information about the new [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent stored procedures, see the following topics in [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Books Online: - "sp_add_proxy ([!INCLUDE[tsql](../../includes/tsql-md.md)])" - "sp_delete_proxy ([!INCLUDE[tsql](../../includes/tsql-md.md)])" - "sp_enum_login_for_proxy ([!INCLUDE[tsql](../../includes/tsql-md.md)])" - "sp_enum_proxy_for_subsystem ([!INCLUDE[tsql](../../includes/tsql-md.md)])" - "sp_enum_sqlagent_subsystems ([!INCLUDE[tsql](../../includes/tsql-md.md)])" - "sp_grant_proxy_to_subsystem ([!INCLUDE[tsql](../../includes/tsql-md.md)])" - "sp_grant_login_to_proxy ([!INCLUDE[tsql](../../includes/tsql-md.md)])" - "sp_help_proxy" ([!INCLUDE[tsql](../../includes/tsql-md.md)])" - "sp_revoke_login_from_proxy ([!INCLUDE[tsql](../../includes/tsql-md.md)])" - "sp_revoke_proxy_from_subsystem ([!INCLUDE[tsql](../../includes/tsql-md.md)])" - "sp_update_proxy ([!INCLUDE[tsql](../../includes/tsql-md.md)])" > [!NOTE] > After you upgrade to [!INCLUDE[ssKatmai](../../includes/sskatmai-md.md)], any statements that use the **xp_sqlagent_proxy_account** extended stored procedure will not work. Use **sp_xp_cmdshell_proxy_account** instead of **xp_sqlagent_proxy_account** to set the proxy for **xp_cmdshell**. ## Component [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent ## See Also [SQL Server Agent Upgrade Issues](../../../2014/sql-server/install/sql-server-agent-upgrade-issues.md)