Just to confirm before I involve others, can you confirm you've followed the other steps in the blog post as well?
****
If you are facing any other error, please double check that you followed following steps properly:
· The Registered App was Granted Permission by an Admin of the Active Directory (Ensure that the permission was granted before you registered this as custom connector in PowerApps environment)
· While registering the app, you provided proper reply url (if you got error during custom connection creation, you added additional reply url)
· While creating custom connector, you provided proper resource url
· You noted down the correct Client Id, and Client Secret. (Client Id is same as Application Id. Key is same as Client Secret)
· You are signed in to the Active Directory Tenant where you registered your app
· You could successfully run the api from Graph Explorer