"Couldn't download - No permissions"

I'm trying to download Teamviewer Remote, but it says "Couldn't download - No permissions"

When I try to download it from the Microsof Store app, I get this message: We couldn't complete the installation. Wait a bit, then try again.

I have a Teamviewer account and have verified my device with Teamviewer. I am signed in to Teamviewer when I am doing the above actions.