megel / powerapps-helper

MIT License
27 stars 3 forks source link

command 'mme2k-powerapps-helper.refreshEntry' not found #27

Open jeffryvu opened 1 year ago

jeffryvu commented 1 year ago

When trying to get the list of environments, it gives me the message command 'mme2k-powerapps-helper.refreshEntry' not found.

I've tried uninstalling and reinstalling, but that didn't fix it.

Any idea how I can troubleshoot this?

Thanks, Jeffry

megel commented 1 year ago

Hi @jeffryvu,

Sorry for the late reply. Did you receive any error messages before?

It seems to me, that something with your authentication fails and the refresh is called before the VSCode extension is loaded.

https://github.com/megel/powerapps-helper/blob/be9a7fa38894ebaf6f7b1e6c1dc58152b99412b4/src/helpers/OAuthUtils.ts#L114

Did you Sign-In into Azure correctly?