question

FrankHsieh-5045 avatar image
0 Votes"
FrankHsieh-5045 asked JamesScott-8729 answered

Azure Sphere Enable Development Mode Failed

Hi,

I've developed with the USI Azure Sphere Dev Kit Board, and the newest installed SDK version is 21.10.

Recently, I restore the board with the recovery command, making sure the device is running the latest OS, and I follow the Quickstarts steps to enable development mode.

The claiming device command works well, but after sending the enable development mode command, I get an error message saying:

Failed to create device capability configuration for device ID '180dbacb39bb89f940ecd3fb6fbee1de3d33eaaf8842dc3600e4ca74b0f0ea210d19dbe6f7ef4b25c9b84586f3dd0f9eac9aa08169306c1579fdfb9a53f81990'. Ensure that you are logged in to the correct Azure Sphere tenant ('azsphere login'), that the device is claimed ('azsphere device claim') to that tenant, and try again.
Trace ID: 219164a2-4bb3-4ee8-ac55-c1db49b0c434

And I follow the error message to log in to the tenant and claim the device again, but still comes out with the same error message.

Do you have any ideas?
Tell me if you need more infos.

Thanks,
Frank

165141-image.png

165345-debug.png


azure-sphere
image.png (34.3 KiB)
debug.png (368.8 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Run azsphere device recover before azsphere device enable-development to see if it improves?

0 Votes 0 ·

Hi,
I run the "azsphere device recover" before "azsphere device enable-development", but stills not work.

165436-as-recover.png


0 Votes 0 ·
as-recover.png (56.6 KiB)
JamesScott-8729 avatar image
1 Vote"
JamesScott-8729 answered

Hi FrankHsieh-5045. Thank you for reporting this issue. This was root caused and fixed yesterday - the cause was an issue with the AS3 service that provides the capability file to the user, which was incorrectly not providing this file for "Contributor" roles. Please try again with Contributor role.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FrankHsieh-5045 avatar image
1 Vote"
FrankHsieh-5045 answered AshokPeddakotla-MSFT commented

Hi,
After changing the tenant role from "Contributor" to "Administrator", the enable development commant is work.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@FrankHsieh-5045 Glad to hear your issue is resolved after changing the role. Please accept your response as answer so that it can help others in the community looking for help on similar topics.

0 Votes 0 ·