The below error will come when you try to import and compare the objects from .XPO.
“Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics”
Solution: Full CIL will resolves the error.
If full CIL does not solves the issue then follow the below steps.
1. Stop the AOS.
2. Delete the *.pdb and *.netmodule files
3. Start AOS and do full CIL.