If you want to import content packages from another D365 F&SCM environment, you must register the Microsoft Entra ID app on the remote environment.
On the remote environment, also RapidValue must be installed.
Steps
Go to System administration > Setup > Microsoft Entra ID applications.
Click New.
In the Client Id field, enter the 'Application (client) ID' of the Microsoft Entra ID app.
In the Name field, enter the 'Display name' of the Microsoft Entra ID application.
In the User ID field, enter or select a value.
Note
Make sure, this user has sufficient rights. You can, for example, use a user with admin rights.
Close the page.