1. Next step is to configure the Application user for the environment. Go to https://admin.powerplatform.microsoft.com and select the D365 environment as per the requirement.
2. Click on Settings at the top
3. Click User + Permissions -> Application users
4. Click New App User
5. Click Add and App and select the app that was create in Azure portal. Select desired business unit, and System Administrator as security role. Click Create at the bottom of the window