

# Using Microsoft Azure Database for MySQL flexible server as a source for Amazon DMS
<a name="CHAP_Source.AzureDBMySQL"></a>

With Amazon DMS, you can use Microsoft Azure Database for MySQL flexible server as a source in much the same way as you do MySQL.

For information about versions of Microsoft Azure Database for MySQL flexible server that Amazon DMS supports as a source, see [Sources for Amazon DMS](CHAP_Introduction.Sources.md). 

For more information about using a customer-managed MySQL-compatible database with Amazon DMS, see [Using a self-managed MySQL-compatible database as a source for Amazon DMS](CHAP_Source.MySQL.md#CHAP_Source.MySQL.CustomerManaged).

## Limitations when using Azure MySQL as a source for Amazon Database Migration Service
<a name="CHAP_Source.AzureDBMySQL.limitations"></a>
+ The defaut value for the Azure MySQL flexible server system variable `sql_generate_invisible_primary_key` is `ON`, and the server automatically adds a generated invisible primary key (GIPK) to any table that is created without an explicit primary key. Amazon DMS doesn’t support ongoing replication for MySQL tables with GIPK constraints.