I am executing the commands below in powershell using tenant level details. Still, I am getting access denied.
Connect-PnPOnline -AppId $appId -AppSecret $app