Closed cveld closed 2 years ago
Thank you for your feedback. This has been routed to the support team for assistance.
@cveld Apologies for the late reply. Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.
@cveld I have 2 actions plans to isolate this issue:
Plan 1: Could you please grant the right permissions to the certificate in key vault then test it again?
Plan 2: If the above plan doesnt help, could you download the same certificate from keyvault to your local machine and then run the below command ?
Add-AzIoTDeviceProvisioningServiceEnrollmentGroup -ResourceGroupName $ResourceGroupName -DpsName "mydps" -Name $EnrollmentGroupName -AttestationType X509 -PrimaryCertificate "D:/primary.cer"
Awaiting your reply.
@cveld I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you have tried the above suggesstion. Awaiting your reply.
@cveld The action is pending on you to follow the above suggestion and get back to us with an update. We will now proceed with closure of this GitHub issue. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.
Description
Potentially related to https://github.com/Azure/azure-powershell/issues/18494 And interestingly again the az cli counterpart is successful:
When running
Add-AzIoTDeviceProvisioningServiceEnrollmentGroup
I get the following error:Cannot find the requested object.
Issue script & Debug output
Environment data
Module versions
Error output