Overview
When you attempt to import a user or a user group via the Azure AD User Synchronization Plugin, the following error might appear:
PropertyPageImportUsers.cpp, 201, The parameter is incorrect. ('authority' Uri should have at least one segment in the path (i.e. https://<host>/<path>/...)
Parameter name: authority) (0x80070057)
PropertyPageImportUsers.cpp, 1155, The parameter is incorrect. ('authority' Uri should have at least one segment in the path (i.e. https://<host>/<path>/...)
Parameter name: authority) (0x80070057)
RPCMethodCallWithRetry.h, 178, The parameter is incorrect. ('authority' Uri should have at least one segment in the path (i.e. https://<host>/<path>/...)
Parameter name: authority) (0x80070057)
RPCMethodCallWithRetry.h, 178, The parameter is incorrect. ('authority' Uri should have at least one segment in the path (i.e. https://<host>/<path>/...)
Parameter name: authority) (0x80070057)
RPCLoginsAdmin.cpp, 1480, The parameter is incorrect. ('authority' Uri should have at least one segment in the path (i.e. https://<host>/<path>/...)
Parameter name: authority) (0x80070057)
RPCLoginsAdmin.cpp, 711, The parameter is incorrect. ('authority' Uri should have at least one segment in the path (i.e. https://<host>/<path>/...)
Parameter name: authority) (0x80070057)
RPCLoginsHelper.cpp, 1808, The parameter is incorrect. ('authority' Uri should have at least one segment in the path (i.e. https://<host>/<path>/...)
Parameter name: authority) (0x80070057)
RPCSynchronizationHelper.cpp, 575, The parameter is incorrect. ('authority' Uri should have at least one segment in the path (i.e. https://<host>/<path>/...)
Parameter name: authority) (0x80070057)
Solution
The error refers to an issue with the Primary Domain parameter. To fix the error, check your Primary Domain name from Entra ID and copy-paste it into the Azure AD User Synchronization Plugin configuration to make sure there are no typos.
