AzureStorageExplorer icon indicating copy to clipboard operation
AzureStorageExplorer copied to clipboard

Permissions error on tab after Entra reauthorization unless tab is closed and reopened

Open inhearst opened this issue 1 year ago • 0 comments

Preflight Checklist

Storage Explorer Version

1.35.0

Regression From

No response

Architecture

x64

Storage Explorer Build Number

20240810.1

Platform

Windows

OS Version

23H2 22631.4169

Bug Description

I have an Azure table that requires elevated Contributor permissions to access. If I open a tab in Storage Explorer for this table and get a permissions error, elevating the permissions via Azure Entra and then pressing "Refresh" on the tab still causes a permissions error and no data is shown. I spent an hour trying to find out why and turns out closing and reopening the tab on the same resource works.

Steps to Reproduce

  1. Open an Azure Table tab that you don't have permissions for
  2. Note the notification bar with the permissions error
  3. Elevate permissions via Entra and wait for them to propagate
  4. Press "Refresh" on the tab with the permissions error, see the error remain
  5. Close and reopen the tab on the same resource, permissions error should go away

Actual Experience

The "Refresh" button doesn't actually refresh the user credentials if anything changes between the first error and the latest refresh

Expected Experience

I expect "Refresh" to use the latest credentials the user has available to them. It is confusing behavior if there is no indication that the Entra elevation actually worked.

Additional Context

We have an Entra profile for "Contributor" access which is the one being used for protected resources

inhearst avatar Oct 10 '24 16:10 inhearst