Unauthorize action to run Get-AzStorageShare

ElroyTong-7850 45 Reputation points
2024-06-19T09:50:42.9466667+00:00

i have built a script for a resource HealthCheck, however i encountered an authorize error issue when i use the get-azStorageshare .
My current script displays the azure storage accounts and utilization, please find the error message below
the user is given owner permission to the storage account.
Please share your inputs and questions.

Azure Storage
Azure Storage

Globally unique resources that provide access to data management services and serve as the parent namespace for the services.

0 comments No comments

1 answer

Sort by: Oldest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    4 deleted comments

    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.