I am conducting some tests, therefore I have two instances each in a specific region, the database has been configured with a geo-replica and added to a failover group.
While trying to trigger a failover through SQL commands, it looks like it doesn't want to work, but when I am going and logging into the azure portal, and selecting the instance then to the failover group, I can trigger a failover and also a forced failover , both of them working just fine, I was wondering how would this work from a SQL perspective?
To be noted the ALTER DATABASE [DB-NAME] FAILOVER;
or ALTER AVAILABILITY GROUP [AGNAME] Failover;
doesn't work.
Anyone experiencing similar issues?