Thomas Fabre Thanks for sharing the additional information. It appears that you are referencing Microsoft.EntityFrameworkCore.SqlServer
7.0.3 which depends on Microsoft.Extensions.Logging.Abstractions
>=7.0.3 and as per NuGet package doc, this version supports .Net 6. However, there is a limitation in in-process model of Functions runtime V4 (running .NET 6) which restrict the dependencies to 6.0.0 and hence you got the error. More details/discussion can be found here.
So, if you are looking to target .NET 6, the recommendation is to move Isolated model (no such dependency restrictions) or use 6.0.0 version of Microsoft.EntityFrameworkCore
NuGet package in your project.
I hope this helps and let me know if any questions.
If you found the answer to your question helpful, please take a moment to mark it as Yes
for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.