/A session cannot be created. Verify that the user has the necessary rights to log on to Microsoft Dynamics./
I did check the 5 points mentioned in this post: 5 Tips to Resolve the AX Error: ‘Failed to create a session; confirm that the user has the proper privileges…’ (stoneridgesoftware.com)
1. Partitions.
There is only one partition, so this should not be the issue, but I did also try to create the mentioned two other partitions, and created the required records for my under in UserInfo.
Tried Syncing with CIL Disabled, did not help.
Did that if completes with no errors, but I still get the error.
Also did not help.
I checked and both my user and the user the AOS runs under had the prober privileges on the SQL Database.