I have tried running the below commands in the power shell It is throwing error only.
Connect-PnPOnline -Url "SiteURL" -AppId "a04bccf6-7e5f-49f9-9838-ef929f83c653" -AppSecret "App secret value"
Add-PnPOffice365GroupToSite -Url "SiteURL" -Alias "April61e" -DisplayName "April61e"
It throwing the error as “Add-PnPOffice365GroupToSite :
{"odata.error":{"code":"Authorization_RequestDenied","message":{"lang":"en","value":"Insufficient privileges to
complete the operation."},"requestId":"b5c18291-f4b0-4da7-acf6-cae3219b8644","date":"2020-04-09T09:25:35"}}”
The App has "group.readwriteall" permission