Create app with Sites.FullControl.All permission in Azure
Here are the steps to create your own app with the Sites.FullControl.All permission:
Visit the Azure portal.
Navigate to 'Azure Active Directory', and choose 'App registrations'.
Press 'New registration' to begin creating your new app.
Provide a suitable name for your application.
In the 'Redirect URI (optional)' field, select 'Web' from the dropdown and input the URL where your app will be hosted.
Click 'Register' to create your application.
Once the app is created, go to 'API permissions' from the left sidebar.
Press 'Add a permission', and choose 'Sites' from the 'Request API permissions' section.
Under 'Application permissions', check 'Sites.FullControl.All'.
Finish by clicking 'Add permissions'.
Now, you have successfully created an app with the 'Sites.FullControl.All' permission.
Last updated