...
Navigate to API Permissions and select +Add a permission.
Under Request API Permissions, Select Microsoft APIs.
Click on Delegated permissions & Application permissions appropriately and search for the below permissions to add.
...
Once permissions are set, on the same page, please grant admin access by clicking on the Grant admin consent for Connect Secure and click on Yes button
Navigate to Enterprise Application> All Applications, search for the Application_name which is created & click on that Application_name.(Application created for multi tenant)
Once opened, navigate to the Security Section on the left hand side and select Permissions.
Under the Permissions, Click on Grant Admin Consent for Connect Secure.
...