Azure SQL Database V12 Change Collation
<p>I've tried to alter data collation for a Azure SQL DB V12 database with this command:</p>

<pre><code>ALTER DATABASE aguia COLLATE SQL_Latin1_General_CP1_CI_AI
</code></pre>

<p>And receive the follow message:</p>

<blockquote>
  <p>The database could not be exclusively locked to perform the operation.</p>
</blockquote>

<p>If I try to run this command, in order to lock exclusively:</p>

<pre><code>ALTER DATABASE aguia SET SINGLE_USER
</code></pre>

<p>I receive this message:</p>

<blockquote>
  <p>The operation cannot be performed on database "aguia" because it is
  involved in a database mirroring session or an availability group.
  Some operations are not allowed on a database that is participating in
  a database mirroring session or in an availability group.</p>
</blockquote>

<p>How can I get around?</p>

<p>Regards, JP.</p>