Hello @Dimitar Grozev Hello, It seems like you’re having trouble with your Azure SQL Database and Entity Framework migrations. Here are a few additional things you could try:
Check the permissions: Ensure that the service principal has the necessary permissions to execute the migrations on the Azure SQL Database.
Check the connection string: Make sure that the connection string used by the IDesignTimeDbContextFactory
is correct and has the necessary access to the Azure SQL Database.
Use Azure Active Directory authentication: If you’re not already doing so, consider using Azure Active Directory authentication with the service principal.
Check the firewall rules: Ensure that the necessary firewall rules are in place to allow the service principal to access the Azure SQL Database.
Debug the pipeline: Consider adding some debug logging to your pipeline to help identify where the issue might be occurring.
Remember to always keep your sensitive information secure when debugging and testing.
I hope this helps!