Create required extensions in the Azure Database for PostgreSQL connection.
:param conn: Async connection to the Azure Database for PostgreSQL. :type conn: AsyncConnection :param required_extensions: List of required extensions to create. :type required_extensions: list[Extension] :raises Exception: If the connection is not valid or if an error occurs during extension creation.