The documentation for import export devices does not clearly call out how the storage SAAS URL needs to be generated
See original GitHub issuePlease assign this issue to me.
We should have a link to how to generate SAS token as well as an example like this to make it more clear
az iot hub device-identity export --bcu https://myaccount.blob.core.windows.net/sascontainer/sasblob.txt?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D --ik --resource-group my-rg --hub-name my-hub
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 62c92565-2490-7306-fa08-b16aa2a402a6
- Version Independent ID: 73f40753-0f05-7e45-ca7d-f0a9d2a276ce
- Content: az iot hub device-identity
- Content Source: latest/docs-ref-autogen/ext/azure-cli-iot-ext/iot/hub/device-identity.yml
- Service: iot-hub
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Project import/export API - GitLab Docs
Make sure the upload URL doesn't have a short expiration time and is available throughout the export process. Administrators can modify the maximum...
Read more >Cisco Secure Firewall Threat Defense REST API Guide
Following are some ways you can use import/export. Create a template for new devices. Configure your model device to the baseline you need,...
Read more >Azure Import/Export service - Microsoft Learn
Learn how to create import and export jobs in the Azure portal for transferring data to and from Azure Storage.
Read more >Troubleshoot Cloud Run issues
To resolve this issue, rule out the following potential causes: ... ERROR: (gcloud.run.deploy) User EMAIL_ADDRESS does not have permission to access ...
Read more >Understanding Modules and Import and Export Statements in ...
As the importance of JavaScript in web development grows, there is a bigger need to use third-party code for common tasks, to break...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi Lian, thanks for helping improve on this. We could also provide the example CLI(with bcu value quoated) as below to help customer avoid running into possible invalid argument issue.
az iot hub device-identity export --bcu "<blob container uri>" --ik --resource-group my-rg --hub-name my-hub
Example blob container uri:
https://myaccount.blob.core.windows.net/sascontainer/sasblob.txt?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D
@gxyjenny who said she could help