Hi Utkarsh upadhyay •,
Welcome to Microsoft Q&A forum.
As I understand, you want to create Index on Subscriber in Replication.
Indexes on SQL Server can be added at the Publisher or Subscribers with no special considerations for replication (be aware that indexes can affect performance). CREATE INDEX
and ALTER INDEX
are not replicated, so if you add or change an index at, for example, the Publisher, you must make the same addition or change at the Subscriber if you want it reflected there.
Could you please let us know what steps you are performing, is it for Azure SQL DB, SQL Server, Azure SQL Managed Instance?
Thanks