Go to Setting => update and security => For developers, change from Microsoft store appss to Developer mode, then try again