Azure-Samples / AnomalyDetector

Samples for the Anomaly Detection API documentation:
https://docs.microsoft.com/en-us/azure/cognitive-services/anomaly-detector/
MIT License
97 stars 167 forks source link

MVAD-SDK-Demo doesn't work with blob storage URL #56

Closed SumeetSandhu closed 1 year ago

SumeetSandhu commented 1 year ago
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

I followed instructions upto Step 6:Train a model. The model is created: Model is created with the modelId: 059dba8c-fa59-11ed-955a-4ece889b01d8

But it fails to train. Model status: FAILED EpochId: {'epochIds': [], 'trainLosses': [], 'validationLosses': [], 'latenciesInSeconds': []}

"FailToAccessBlobURLError('Please confirm if the blob URL exists, and grant 'Storage Blob Data Reader' role to your Anomaly Detector.', inner_exception=None)"

I'm using a Jupyter Notebook, azure-ai-anomalydetector 3.0.0b6, and have a Storage blob account with the correct permissions set.

Thank you, Sumeet

SumeetSandhu commented 1 year ago

In will help to emphasize (more prominently) in various guides and documentation that the "storage blob data reader" permission needs to be assigned to the anomaly detector resource, not to a person - most corporate helpdesks (such as mine) do not read the instructions anyway :)