winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Fail to install an application from Microsoft Store because "missing bank account"

Open TechWatching opened this issue 4 years ago • 31 comments
trafficstars

Brief description of your issue

When I try to install an application from Microsoft Store it fails with a message indicating that my bank account is missing 😲.

Steps to reproduce

  • Enable installing ms store apps in winget settings.
  • Launch powershell , and run the following command winget install -e -h --id Microsoft.WindowsTerminal -s msstore

Expected behavior

Winget find the app and install it.

Actual behavior

winget is unable to verify/aquire package. image

Environment

[winget --info]
Windows Package Manager v1.0.11451     
Windows: Windows.Desktop v10.0.19043.1023                                                                               
Package: Microsoft.DesktopAppInstaller v1.11.11451.0 

TechWatching avatar May 31 '21 09:05 TechWatching

@TechWatching I'm guessing this may be a challenge with translation of the strings in the message.

denelon avatar Jun 01 '21 21:06 denelon

@TechWatching are you logged into the Microsoft Store with your Microsoft Account (MSA) on this machine?

denelon avatar Jun 01 '21 21:06 denelon

Yes I am logged in with my Microsoft Account on the Microsoft Store of this machine, even if the user logged in to my session is another account (azure ad / professional account). Could this be a problem ?

TechWatching avatar Jun 01 '21 21:06 TechWatching

This looks like it is related to the account used between the Windows Package Manager and the experimental store implementation. We're still working through the edge cases here. I've marked this external as it currently isn't something that we can resolve in the Windows Package Manger client. As we get closer to being able to have stable/released store support this will be an issue that must be resolved.

denelon avatar Jun 01 '21 22:06 denelon

@TechWatching

We've published the v1.1 release candidate and updated our troubleshooting guide.

Can you confirm if this is still happening?

denelon avatar Oct 01 '21 21:10 denelon

Dear @denelon,

Unfortunately, the issue seems to remain in this new release.

I get the same error when installing Rufus from msstore. For info, I'm using a local account on Windows.

PS C:\> winget --info
Windows Package Manager v1.1.12653
Copyright (c) Microsoft Corporation. Tous droits réservés.

Windows: Windows.Desktop v10.0.19041.746
Package: Microsoft.DesktopAppInstaller v1.16.12653.0

PS C:\> winget install Rufus -s msstore
Trouvé Rufus [9PC3H3V7Q9CH] Version Unknown
Ce package est fourni via Microsoft Store. Le winget devra peut-être acquérir le package à partir du Microsoft Store pour le compte de l’utilisateur actuel.
Version : Unknown
Publisher : Akeo Consulting
ID de l’Editeur https://rufus.ie
URL de support de l’éditeur : mailto:[email protected]
Description : Rufus is a utility that helps format and create bootable USB flash drives.

Official site: https://rufus.ie
Source Code: https://github.com/pbatard/rufus
Licence : This application is licensed under the terms of the GNU Public License (GPL) version 3.
See https://www.gnu.org/licenses/gpl-3.0.en.html for details
URL de confidentialité : https://github.com/pbatard/rufus/wiki/Security
Copyright : © 2011-2021 Pete Batard
Contrats :
Category: Utilities & tools
Pricing: Free
Free Trial: No
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Seizure Warning: https://aka.ms/microsoft-store-seizure-warning
Store License Terms: https://aka.ms/microsoft-store-license


L’éditeur exige que vous consultiez les informations ci-dessus et acceptiez les contrats avant de procéder à l’installation.
Acceptez-vous les conditions ?
[Y] Oui  [N] Non: Y
Vérification/demande en cours relative à l’acquisition du package...
Nous n’avons pas pu effectuer la vérification/demande d’acquisition du package : aucun compte de banque trouvé

Thanks for your help :+1:

SuperITMan avatar Oct 08 '21 01:10 SuperITMan

@SuperITMan thank you for confirming. I've reached out to a few more folks internally to see if I can help isolate the cause.

denelon avatar Oct 08 '21 14:10 denelon

@TechWatching this issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

ghost avatar Nov 03 '21 01:11 ghost

In Windows 10 it was possible to connect to the store with a professional account but it's not possible anymore on windows 11. If not connected it's not possible to defnie payment options, so I guess this is why we get this error.

olivier-david avatar Nov 15 '21 14:11 olivier-david

@TechWatching this issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

ghost avatar Nov 26 '21 22:11 ghost

Ping! Please keep this open

SuperITMan avatar Nov 27 '21 08:11 SuperITMan

@SuperITMan I removed the "Needs-Author-Feedback" label so the bot shouldn't try to close the issue.

denelon avatar Nov 29 '21 18:11 denelon

We've fixed the bug requiring an MSA to be logged into the Microsoft Store in Windows Package Manager 1.3 preview and Windows Package Manager 1.3 Release Candidate. Is this still happening?

denelon avatar Jun 21 '22 16:06 denelon

@TechWatching this issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

ghost avatar Jun 28 '22 19:06 ghost

Hi ! Any update about that ? I'm trying to install Company portal with Winget but it failed because no bank account too

D0wn3r avatar Jul 01 '22 12:07 D0wn3r

@D0wn3r

Are you logged into the Microsoft Store with an account?

If you are, do you get the same error message if you log out of the store?

denelon avatar Jul 01 '22 14:07 denelon

@denelon Yes for both question and I tried on 2 differents computers and get same error. My version is v1.2.11601

D0wn3r avatar Jul 01 '22 14:07 D0wn3r

Thanks for confirming. I've reached out to the team to see if we can isolate what causes this particular error.

denelon avatar Jul 01 '22 14:07 denelon

The bug was fixed in the 1.3 version for getting packages without an MSA logged into the store. Could you try with one of the latest clients? The latest version 1.31741 is currently our release candidate build.

denelon avatar Jul 01 '22 14:07 denelon

@denelon How to upgrade to this version please ?

D0wn3r avatar Jul 01 '22 15:07 D0wn3r

You can just open the MSIX bundle from our releases page.

denelon avatar Jul 01 '22 15:07 denelon

Thank you very much @denelon, it works on my computer without being logged. I will try on my other computer that is AD joined registered to see.

D0wn3r avatar Jul 01 '22 15:07 D0wn3r

It works perfectly ! Nice job

D0wn3r avatar Jul 01 '22 15:07 D0wn3r

This issue can be closed I guess

D0wn3r avatar Jul 01 '22 15:07 D0wn3r

I'm going to keep it open as I would like to understand what causes that specific error. We may run into it again.

denelon avatar Jul 01 '22 15:07 denelon

Hi all, I'm having the same error while trying to install the company portal app as of today on a updated windows 11 computer. I manage my Azure AD / Endpoint and we are trying to install it with powershell but we got that error.

here's the command I ran: winget install --id "9WZDNCRFJ3PZ" --exact --source msstore --accept-package-agreements --accept-source-agreements

Thanks

Update from my previous comment: Here's the error I'm getting running winget v1.3.1741:

An unexpected error occurred while executing the command: 0x80070520 : Une ouverture de session spécifiée n'existe pas. Elle est peut-être déjà terminée.

should translate to : a specified logon session does not exist. it may already have been terminated

Rolodo avatar Jul 07 '22 20:07 Rolodo

You can just open the MSIX bundle from our releases page.

Perfect ! after updating , I can install packages that I was unable to due to "no store account found"

dineshrajaram avatar Jul 11 '22 12:07 dineshrajaram

@TechWatching this issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

ghost avatar Jul 18 '22 13:07 ghost

I see that the issue will become stale should I open my own issue cause I could provide feedback if needed since I have the same issue.

Thanks

Rolodo avatar Jul 18 '22 18:07 Rolodo

I see that the issue will become stale should I open my own issue cause I could provide feedback if needed since I have the same issue.

cc @Rolodo: You should because your issue is a bit different.

image

ItzLevvie avatar Jul 18 '22 19:07 ItzLevvie