Giter VIP home page Giter VIP logo

sdcm's Introduction

Surface Dev Center Manager (SDCM)

Surface Dev Center Manager (SDCM) is a tool that utilizes the REST APIs made available by Microsoft Partner Center (a.k.a. Hardware Dev Center) to automate many common tasks for hardware development and maintenance around driver and firmware management.

SDCM enables you to create Attestation and WHQL products, submissions, download the resulting signed packages, and manage shipping labels to release software on Windows Update.

This tool is based on the Hardware Dashboard API. Detailed options are available with the -?, -h or -help option at the command line.


Getting Started

  1. Clone the repo
  2. Follow the steps here to setup your app to get credentials
  3. Edit authconfig.json to the appropriate values after your app was set up
    • Change clientId, tenantId and key to match the values from your app registration
    • You should not have to change the url or urlPrefix
  4. Build the project

Input Json Formats

Please refer to the Hardware Dashboard API documentation for detailed information on each of the settings below. This sample is targeted for a RS4 HLK submission and shipping label.

Creating a Product

{
    "createType": "product",
    "createProduct": {
        "productName": "ProductName_HLK",
        "testHarness": "HLK",
        "announcementDate": "2023-01-01T00:00:00",
        "deviceMetadataIds": null,
        "firmwareVersion": "0",
        "deviceType": "external",
        "isTestSign": false,
        "isFlightSign": false,
        "marketingNames": null,
        "selectedProductTypes": {
            "windows_v100_RS4": "Unclassified"
        },
        "requestedSignatures": [
            "WINDOWS_v100_X64_RS4_FULL"
        ],
        "additionalAttributes": null
    }
}

For an Attestation submission, change testHarness to Attestation.


Creating a Submission

{
    "createType": "submission",
    "createSubmission": {
        "name": "ProductName_HLK_Submission",
        "type":  "initial"
     }
 }

Creating a Shipping Label

{
    "createType": "shippingLabel",
    "createShippingLabel": {
        "publishingSpecifications": {
            "goLiveDate": "2023-01-01T00:00:00.000Z",
            "visibleToAccounts": [],
            "isAutoInstallDuringOSUpgrade": true,
            "isAutoInstallOnApplicableSystems": true,
            "manualAcquisition": false,
            "isDisclosureRestricted": true,
            "publishToWindows10s": false,
            "additionalInfoForMsApproval": {
                "microsoftContact": "[email protected]",
                "validationsPerformed": "TBD",
                "affectedOems": [
                    "Your Company"
                ],
                "isRebootRequired": true,
                "isCoEngineered": true,
                "isForUnreleasedHardware": true,
                "hasUiSoftware": false,
                "businessJustification": "Driver Update"
            }
        },
        "targeting": {
            "hardwareIds": [
                {
                    "bundleId": "0",
                    "infId": "empty.inf",
                    "operatingSystemCode": "WINDOWS_v100_RS4_FULL",
                    "pnpString": "empty pnp"
                }
            ],
            "chids": [
                {
                    "chid": "guid",
                    "distributionState": "pendingAdd"
                }
            ],
            "restrictedToAudiences": [],
            "inServicePublishInfo": {
                "flooring": "",
                "ceiling": ""
            }
        },
        "name": "ProductName_HLK_ShippingLabel",
        "destination": "windowsUpdate"
    }
}

Note that SDCM will auto-populate and publish all hardware IDs found in a Submission when creating a Shipping Label.



Basic Operations

Create a Product

Create a json file 'Create_ProductName_HLK.json' using the Product json example above.

sdcm.exe -create Create_ProductName_HLK.json

This will output a Product ID (PID) if successful



List the Product

Verify the product was created by listing the details.

sdcm.exe -list product -productid PID


Create a Submission

Create a json file 'Create_ProductName_Submission_HLK.json' using the Submission json example above.

sdcm.exe -create Create_ProductName_Submission_HLK.json -productid PID

This will output a Submission ID (SID) if successful



List the Submission

List all the submissions for the product

sdcm.exe -list submission -productid PID

List a specific submission for the product

sdcm.exe -list submission -productid PID -submissionid SID


Upload a package to a Submission

Make sure the package (.cab or .hlkx) is signed by the Extended Validation Certificate (EV Cert) registered with your Partner Center Hardware Account

sdcm.exe -upload test.hlkx -productid PID -submissionid SID


Commit a Submission

When everything is ready to start processing the submission, commit it

sdcm.exe -commit -productid PID -submissionid SID


Wait for a Submission to be Ready

sdcm.exe -wait -productid PID -submissionid SID


Download files from a Submission

sdcm.exe -download hlksigned.zip -productid PID -submissionid SID


WHQL signing a Driver

See HLKx.ps1 in the Scripts folder.



Attestation signing a Driver

See Attestation.ps1 in the Scripts folder.



Creating a Shipping Label

See ShippingLabel.ps1 in the Scripts folder.



Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

sdcm's People

Contributors

apt-awake avatar ben-carpenter avatar charliearcuri avatar gregorypanakkal avatar jdflier avatar jishiping avatar microsoft-github-policy-service[bot] avatar microsoftopensource avatar msftgits avatar sfudally avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sdcm's Issues

SDCM : Field not found Exception

Create Product
* Create JSON
* Submit
* PID: 14269363839993683
Create Submission
* Create JSON
* Submit
* SID: 1152921505694771210
Upload File
SurfaceDevCenterManager v1.0.0.1
Upload Option
Fetch Submission Info
initialPackage Url: https://ingestionpackagesprod1.blob.core.windows.net/ingestion/3a0a7815-4afc-4ec3-b394-c0caf46446a1?sv=2018-03-28&sr=b&sig=0u%2B1Xyy780pHn3
LlwIyPU8zaLRj%2BSr7EUzfBOSrBJwY%3D&se=2022-04-25T14:31:15Z&sp=rwl&rscd=attachment%3B filename%3Dinitial_1152921505694771210.cab
Uploading Submission Package
100%
Correlation Id: 988337c4-358f-4b9d-b98d-77221a68c1d2
Return: 0 (SUCCESS)
Commit Submission
SurfaceDevCenterManager v1.0.0.1
Commit Option
Sending Commit
Unhandled Exception:
System.MissingFieldException: Field not found: 'Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterErrorDetails.Trace'.
at SurfaceDevCenterManager.Program.DevCenterErrorDetailsDump(DevCenterErrorDetails error)
at SurfaceDevCenterManager.Program.d__6.MoveNext() in C:\Users\DTMLLUAdminUser\Downloads\SDCM-main\SDCM-main\SurfaceDevCenterManager\Program.cs:lin
e 417
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SurfaceDevCenterManager.Program.Main(String[] args) in C:\Users\DTMLLUAdminUser\Downloads\SDCM-main\SDCM-main\SurfaceDevCenterManager\Program.cs:line 60
Last Command:

Unhandled Exception: System.MissingFieldException: Field not found: 'Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterErrorDetails.Trace'.
at SurfaceDevCenterManager.Program.DevCenterErrorDetailsDump(DevCenterErrorDetails error)
at SurfaceDevCenterManager.Program.Main(String[] args) in C:\Users\DTMLLUAdminUser\Downloads\SDCM-main\SDCM-main\SurfaceDevCenterManager\Program.cs:line 67

Wait for Submission to complete
* Dev Center URL: https://developer.microsoft.com/en-us/dashboard/hardware/driver/14269363839993683
* PID: 14269363839993683
* SID: 1152921505694771210
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: finalizeIngestion
State: completed
signedPackage Url: https://ingestionpackagesprod1.blob.core.windows.net/ingestion/5d3b426b-c381-423d-8b69-f6ef9de6c201?sv=2018-03-28&sr=b&sig=8d6nE1bQFWXdTSjNj
UBh%2BMpO3YRlWZWASb2fIqMXfgE%3D&se=2022-04-25T00:07:42Z&sp=rl&rscd=attachment%3B filename%3DSigned_1152921505694771210.zip
driverMetadata Url: https://prodingestionimage1.blob.core.windows.net/ingestion/e8ffe6f8-72f9-4029-8f0d-130d8e754d3b?sv=2018-03-28&sr=b&sig=iu%2Fl%2BbZJ7kDZxWI
j9snIyV%2FBCpgvV6TEeMOdMF%2B44ng%3D&se=2022-04-25T00:07:42Z&sp=rl&rscd=attachment%3B filename%3DdriverMetadata_1152921505694771210.json
Submission Ready
Done
Correlation Id: 0c495192-ccdd-4ea3-9f89-6876456d5a05
Return: 0 (SUCCESS)
Download File
SurfaceDevCenterManager v1.0.0.1
Download Option ./DRIVER_sign/MT7961X64.cab.signed.zip
Fetch Submission Info
signedPackage Url: https://ingestionpackagesprod1.blob.core.windows.net/ingestion/5d3b426b-c381-423d-8b69-f6ef9de6c201?sv=2018-03-28&sr=b&sig=xwl4lt4gP7ye3vuMC
WYV20fETbNDMVrN0DEfXzGLVdk%3D&se=2022-04-25T00:07:45Z&sp=rl&rscd=attachment%3B filename%3DSigned_1152921505694771210.zip
100%
Correlation Id: 765d6c4f-5f83-44a9-a64e-d73fe178391e

Getting -429 http limit exceeded error for attestation signing request

Describe the bug
A clear and concise description of what the bug is.
When we are trying to submit a attestation signing request by using sdcm.exe then we are getting http limit exceeded error
To Reproduce
Submit the driver binaries using sdcm.exe

Expected behavior
It should sign the driver with any error.

Desktop (please complete the following information)

  • OS: [windows server 2012]

Additional context
Attestation Submission

[08/17/23 22:37:26] > Create Product
* Create JSON
* Submit
[08/17/23 22:37:28] Create Product done
Did not find product ID
SurfaceDevCenterManager v1.0.0.1

Create Option
CreateOption NewProduct experienced a HTTP 429 Too Many Requests response.
Correlation Id: 92519a17-8a89-446e-968e-7ccac4225a19
Return: -429 (HTTP_429_RATE_LIMIT_EXCEEDED)

May i know the possible reason for this failure?.

Getting error as "COMMAND_LINE_OPTION_PARSING_FAILED"

Describe the bug
The sdcm tool has returned this error when I retried to submit the package "COMMAND_LINE_OPTION_PARSING_FAILED "

To Reproduce
Its an uncertain behavior didn't get every time but 1-2 times I get this when retrying to submit the package in partner center using sdcm tool

Expected behavior
Does not happen like this

Desktop (please complete the following information)

  • OS: windows server 2019

Additional context
Can anybody help to know why this occurred and how I can solve this!

Unable to create new product

I got no nothing but a timeout when trying to create a new product.

It seems like the following line get stucks for unknown reason:
L227: DevCenterResponse<Product> ret = await api.NewProduct(createInput.CreateProduct);

Version 1.0.0.1 - current master.

Here is the output :

sdcm.exe -create product.json
SurfaceDevCenterManager v1.0.0.1
> Create Option
Unhandled Exception:
System.OperationCanceledException: The operation was canceled.
   at System.Net.Http.HttpClient.HandleFinishSendAsyncError(Exception e, CancellationTokenSource cts)
   at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.<InvokeHdcService>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.<InvokeHdcService>d__11`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.<HdcPost>d__13`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.<NewProduct>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at SurfaceDevCenterManager.Program.<MainAsync>d__6.MoveNext() in SDCM\SurfaceDevCenterManager\Program.cs:line 227
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at SurfaceDevCenterManager.Program.Main(String[] args) in SDCM\SurfaceDevCenterManager\Program.cs:line 60
Last Command:
ERROR (DevCenterErrorDetails)
Code:
HttpCode:
Message:
Correlation Id: 103ed081-cf85-4614-b130-2daf145f2048
Request Id:     b9422e68-e8bb-4f08-9423-3f8110af3a25
Method:         POST
Url:            https://manage.devcenter.microsoft.com/v2.0/my/hardware/products
Content:        {"productName":"Test","test":"Attestation","announcementDate":"2020-10-02T00:00:00","deviceMetadataIds":null,"firmwareVersion":"1","deviceType":"external","isTestSign":false,"isFlightSign":false,"marketingNames":null,"selectedProductTypes":null,"requestedSignatures":["WINDOWS_v100_X64_19H1_FULL"],"additionalAttributes":null,"packageType":null}
Correlation Id: 103ed081-cf85-4614-b130-2daf145f2048
Return: -2 (UNHANDLED_EXCEPTION)

authconfig.json conf if OK. (work like a charm with the hardware api)

Tried with both url :

https://manage.devcenter.microsoft.com/v1.0/my/hardware/products
https://manage.devcenter.microsoft.com/v2.0/my/hardware/products

Still no success.

Is there anything I am missing ?

Thanks

Hardware>File Signing Service submission automation (testHarness LSA)

Hello team!
Currently, LSA file signing cases are submitted manually via the web service (Hardware>File Signing Service):
https://partner.microsoft.com/en-us/dashboard/hardware/FileSign/NewLSA
Seeing that Attestation.ps1 and HLKx.ps1 are able to automate product related submissions.
May I know if there is a chance to see that the File Sign submission can also be automated?

Much Thanks!

I can't get all products and not all submission's downloads contain "drivermetadata"

I have two questions:
https://docs.microsoft.com/en-us/windows-hardware/drivers/dashboard/get-all-products
First question, my company are over 10000 products.
I use Get all products API, only can get 8910 products.
At last times, the service shows the error : "500 - Internal Server Error".

Second question, not all submission's downloads link contain "drivermetadata".
https://docs.microsoft.com/en-us/windows-hardware/drivers/dashboard/create-a-new-shipping-label
In create a shipping label, how can I get all hardwareIDs and boundle ID list to publish all ?
Thank you.

failed to connect with Hardware API

I got following error when create product starting from today. it used to work before at 7/30

Here is the error output from the tool
SurfaceDevCenterManager v1.0.0.0

Create Option
Unhandled Exception:
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SurfaceDevCenterManager.Utility.AuthorizationHandler.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at SurfaceDevCenterManager.DevCenterApi.DevCenterHandler.d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SurfaceDevCenterManager.DevCenterApi.DevCenterHandler.d__111.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at SurfaceDevCenterManager.DevCenterApi.DevCenterHandler.<HdcPost>d__131.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SurfaceDevCenterManager.DevCenterApi.DevCenterHandler.d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at SurfaceDevCenterManager.Program.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SurfaceDevCenterManager.Program.Main(String[] args)
Last Command:
ERROR (DevCenterErrorDetails)
Code:
HttpCode:0
Message:
Correlation Id: c6db4f17-9ba4-4d86-b319-f9c0397c1d15
Request Id: 6a71aa9f-5f8b-4bf3-83d2-b9e58d5ee80a

What I should do to correct this error?

Thanks
Herbert

SDCM failing to get Product ID

I followed the prerequisite steps properly and have given the clientID, key and tenentID but when executing the command to get product id it is failing with http error code 412 and saying evcertificate not found.
Why is this happening ?
I have given the client_secret then why it asking for certificate and if its required then where I have to add as there is no where mentioned about the certificate other than for .cab or .hlkx package.

Response: -
SurfaceDevCenterManager v1.0.0.1

Create Option
ERROR (DevCenterErrorDetails)
Code: evCertificateNotFound
HttpCode:412
Message: EV Certificate expired or not present
Correlation Id: 14d9929e-e497-4739-b40c-ace5aa9a52e2
Correlation Id: 14d9929e-e497-4739-b40c-ace5aa9a52e2
Return: -7 (NEW_PRODUCT_API_FAILED)

SDCM.exe returns 0 without the download of the attestation signed driver download info (url)

Describe the bug
SDCM.exe returns 0 without the download of the attestation signed driver download info (url)

To Reproduce
Run the script which uses attestation.ps1.

Expected behavior
The sdcm.exe should return success only after the download complete.

Desktop (please complete the following information)

  • OS: Windows server 2012
  • Version

Additional context
Submission logs:
Correlation Id: b9afe90e-e573-4718-aa6f-4a8689c07718
Return: 0 (SUCCESS)
[07/06/23 18:49:50] Upload file done
[07/06/23 18:49:50] > Commit Submission
SurfaceDevCenterManager v1.0.0.1

Commit Option
Sending Commit
Commit OK
Correlation Id: 6037fd36-34ec-4528-bb06-6d59ac750cba
Return: 0 (SUCCESS)
[07/06/23 18:49:57] Commit done
Wait for Submission to complete
* Dev Center URL: https://developer.microsoft.com/en-us/dashboard/hardware/driver/SID(Removed the SID value)
* PID: Removed due to privacy
* SID: Removed due to privacy
* Start sleeping for 20 mins
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Retrying in 10 seconds...
SurfaceDevCenterManager v1.0.0.1
Wait Option
Step: packageInfoValidation
State: started
Execution timed out after 10 seconds.
Execution timed out with exit code ''.
Reached the maximum number of retries.
[07/06/23 19:19:47] Submission complete
Download File
SurfaceDevCenterManager v1.0.0.1
Download Option ../MTKSIGN_V2/One_File/file_x64.cab.signed.zip
Fetch Submission Info
Correlation Id: 234134ce-4e0e-4b28-a6a2-05b44ad78cc8
Return: 0 (SUCCESS)
[07/06/23 19:19:50] Download complete
Done
* Output: ../MTKSIGN_V2/One_File/file_x64.cab.signed.zip
E:Didn't get MSFT signed zip file for free
bt_error_level=2

I have some property about create shipping label API.

https://docs.microsoft.com/en-us/windows-hardware/drivers/dashboard/create-a-new-shipping-label
I use create-a-new-shipping-label api to create shipping label, but have some UI property question as below.

  1. What property means to choose the release date to "Publish my driver as soon as it passes certification"?
    I try to set "publishingSpecifications:goLiveDate" to null, but UI still choose "No sooner than some date".

  2. What property means to check yes for "I understand that selecting driver promotion overrides requires additional Microsoft evaluation and will add up to two weeks to my publication request."?

  3. What property means to check yes for "I have reviewed Microsoft’s additional security measures and driver requirements when running Windows 10 S, and I confirm I have tested my driver in this configuration."?

Thank you.

Unable to communicate to HDC issue

Create Product
* Create JSON
* Submit
Did not find product ID
SurfaceDevCenterManager v1.0.0.1
Create Option

    SurfaceDevCenterManager Exception Log

Option: CreateOption
Section: NewProduct
Type: Microsoft.Devices.HardwareDevCenterManager.Utility.HttpRetriesExhaustedException
Message: AuthorizationHandler: NULL response, unable to talk to HDC
Inner Exception:
Correlation Id: 9b1dce11-4c6e-4197-849a-eab7bc8ec694

Correlation Id: 9b1dce11-4c6e-4197-849a-eab7bc8ec694
Return: -1000 (PARTNER_CENTER_HTTP_EXCEPTION)
-1

PARTNER_CENTER_HTTP_EXCEPTION

Hello,

cmd:

.\sdcm.exe -c .\product.json

product.json:

{ "createType": "product", "createProduct": { "productName": "ProductName_HLK", "testHarness": "HLK", "selectedProductTypes": { "windows_v100_RS4": "Unclassified" }, "requestedSignatures": [ "WINDOWS_v100_X64_RS4_FULL" ], "announcementDate": "2018-10-02T00:00:00", "deviceType": "external", "deviceMetaDataIds": null, "firmwareVersion": "0", "isTestSign": false, "markettingNames": null, "additionalAttributes": null } }
SurfaceDevCenterManager v1.0.0.1
> Create Option

============================================================
        SurfaceDevCenterManager Exception Log
Option:          CreateOption
Section:         NewProduct
Type:            System.Threading.Tasks.TaskCanceledException
Message:         已取消一个任务。
Correlation Id:  7b9bc257-90be-45a7-8b8c-d98dbc03731e
============================================================

Correlation Id: 7b9bc257-90be-45a7-8b8c-d98dbc03731e
Return: -1000 (PARTNER_CENTER_HTTP_EXCEPTION)

PARTNER_CENTER_HTTP_EXCEPTION

Hello,
@Ben-Carpenter

Please pardon me if I am asking my question at the wrong place, and if there is a forum to discuss please let me know.

Issue:

Create Product
* Create JSON
* Submit
Did not find product ID
SurfaceDevCenterManager v1.0.0.1
Create Option

============================================================
SurfaceDevCenterManager Exception Log
Option: CreateOption
Section: NewProduct
Type: System.OperationCanceledException
Message: The operation was canceled.
Inner Exception:
Correlation Id: 75e55278-3819-49dd-8dbe-d87ffe8ed34b

Correlation Id: 75e55278-3819-49dd-8dbe-d87ffe8ed34b
Return: -1000 (PARTNER_CENTER_HTTP_EXCEPTION)
-1

SDCM Version: SurfaceDevCenterManager v1.0.0.1

I am not able to identify what went wrong in this process. The error code -1000 does not take me to any solution that I should follow and correct myself. Is this something to do with the client key that I have added(It has been 6 months) ?

PARTNER_CENTER_HTTP_EXCEPTION

I am attempting to configure and use SDCM to manage attestation submissions for WinFsp. Unfortunately when I run SDCM with options -v --list=product I receive the following error (after some delay):

SurfaceDevCenterManager v1.0.0.1
> List Option product

============================================================
        SurfaceDevCenterManager Exception Log
Option:          ListOption
Section:         GetProducts
Type:            System.OperationCanceledException
Message:         The operation was canceled.
Inner Exception:
Correlation Id:  2fe75310-6bc4-4398-8763-318bfa7bf939
============================================================

Correlation Id: 2fe75310-6bc4-4398-8763-318bfa7bf939
Return: -1000 (PARTNER_CENTER_HTTP_EXCEPTION)

Running Fiddler with HTTPS decryption reveals that manage.devcenter.microsoft.com has failed with a 500 error:

Request:

GET https://manage.devcenter.microsoft.com/v2.0/my/hardware/products HTTP/1.1
MS-CorrelationId: 2fe75310-6bc4-4398-8763-318bfa7bf939
MS-RequestId: fa425da9-a991-4080-bf08-51de0c1f5bf5
Authorization: Bearer
Host: manage.devcenter.microsoft.com

Response:

HTTP/1.1 500 Internal Server Error
Content-Length: 111
Content-Type: application/json
Date: Thu, 02 Feb 2023 16:06:49 GMT

{ "statusCode": 500, "message": "Internal server error", "activityId": "ee5ccfba-9034-4e63-866e-7d8f3c58023b" }

The Authorization: Bearer header looks incorrect to me. So this is likely some auth misconfiguration on my part, although I have populated authconfig.json as per the instructions in your README. (I note that some of the README instructions do not appear to match the administration user interface as it is currently presented by the hardware dashboard.)

My authconfig.json:

[
  {
    "tenantId": "XXXX",
    "clientId": "YYYY",
    "key": "ZZZZ",
    "url": "https://manage.devcenter.microsoft.com",
    "urlPrefix": "v2.0/my"
  }
]

I cannot sign driver by script Attestation.ps1

Log from output:

Attestation Submission

Create Product
* Create JSON
* Submit
Did not find product ID
SurfaceDevCenterManager v1.0.0.0
Create Option
ERROR (DevCenterErrorDetails)
Code: 503 ServiceUnavailable
HttpCode:503
Message: Service Unavailable

"Did not find product ID" with SurfaceDevCenterManager v1.0.0.1

Hi,
our since-then untouched build server was not able anymore to submit our driver for Microsofts attestation signing: (last successful submission was September 2021) now it fails at the SDCM stage with:

Time Elapsed 00:00:03.66
Attestation Submission

Create Product

  • Create JSON
  • Submit
    Did not find product ID
    SurfaceDevCenterManager v1.0.0.1
    Create Option
    Unhandled Exception:
    System.OperationCanceledException: The operation was canceled.
    at System.Net.Http.HttpClient.HandleFinishSendAsyncError(Exception e, CancellationTokenSource cts)
    at System.Net.Http.HttpClient.d__58.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
    at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.d__10.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.d__111.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.<HdcPost>d__131.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.d__15.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
    at SurfaceDevCenterManager.Program.d__6.MoveNext() in <...>:line 227
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at SurfaceDevCenterManager.Program.Main(String[] args) in <...>:line 60
    Last Command:
    ERROR (DevCenterErrorDetails)
    Code:
    HttpCode:
    Message:
    Correlation Id: ...
    Request Id: ...
    Method: POST
    Url: https://manage.devcenter.microsoft.com/v2.0/my/hardware/products
    Content: {"productName":"$project_Attestation","testHarness":"Attestation","announcementDate":"2022-02-23T10:28:02","deviceMetadataIds":null,"firmwareVersion":"0","deviceType":"internal","isTestSign":false,"isFlightSign":false,"marketingNames":null,"selectedProductTypes":{"windows_v100_RS4":"Unclassified"},"requestedSignatures":["WINDOWS_v100_X64_TH2_FULL","WINDOWS_v100_X64_RS1_FULL","WINDOWS_v100_X64_RS2_FULL","WINDOWS_v100_X64_RS3_FULL","WINDOWS_v100_X64_RS4_FULL","WINDOWS_v100_X64_RS5_FULL","WINDOWS_v100_X64_19H1_FULL","WINDOWS_v100_X64_VB_FULL"],"additionalAttributes":null,"packageType":null}
    Correlation Id: 7a6651b5-10cd-464e-ad1e-005819e862b3
    Return: -2 (UNHANDLED_EXCEPTION)
    -1

Any hints or ideas are highly appreciated,
thanks!

PARTNER_CENTER_HTTP_EXCEPTION

Hello,

cmd:

.\sdcm.exe -c .\product.json

product.json:

{ "createType": "product", "createProduct": { "productName": "ProductName_HLK", "testHarness": "HLK", "selectedProductTypes": { "windows_v100_RS4": "Unclassified" }, "requestedSignatures": [ "WINDOWS_v100_X64_RS4_FULL" ], "announcementDate": "2018-10-02T00:00:00", "deviceType": "external", "deviceMetaDataIds": null, "firmwareVersion": "0", "isTestSign": false, "markettingNames": null, "additionalAttributes": null } }
SurfaceDevCenterManager v1.0.0.1
> Create Option

============================================================
        SurfaceDevCenterManager Exception Log
Option:          CreateOption
Section:         NewProduct
Type:            System.Threading.Tasks.TaskCanceledException
Message:         已取消一个任务。
Correlation Id:  7b9bc257-90be-45a7-8b8c-d98dbc03731e
============================================================

Correlation Id: 7b9bc257-90be-45a7-8b8c-d98dbc03731e
Return: -1000 (PARTNER_CENTER_HTTP_EXCEPTION)

Attestation signing submission is failing

There are multiple errors occurring and very frequently.
i was using it since 1 year we were getting errors but now from 5th of march getting almost always the below errors.

Attestation Submission

Create Product
* Create JSON
* Submit
Did not find product ID
SurfaceDevCenterManager v1.0.0.1
Create Option
Unhandled Exception:
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Devices.HardwareDevCenterManager.Utility.AuthorizationHandler.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.d__111.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.<HdcPost>d__131.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at SurfaceDevCenterManager.Program.d__6.MoveNext() in E:\Home\mtk20241\Attestation_task\SDCM-main_1\SDCM-main\SurfaceDevCenterManager\Program.cs:line 227
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SurfaceDevCenterManager.Program.Main(String[] args) in E:\Home\mtk20241\Attestation_task\SDCM-main_1\SDCM-main\SurfaceDevCenterManager\Program.cs:line 60
Last Command:
ERROR (DevCenterErrorDetails)
Code:
HttpCode:
Message:
Correlation Id: d1cc9a7c-280e-4977-a10b-16fd4a7c1f63
Request Id: 13c7c7ce-3a66-4095-ba90-34dd198c9521
Method: POST
Url: https://manage.devcenter.microsoft.com/v2.0/my/hardware/products
Content: {"productName":"mediatek_driver_Attestation","testHarness":"Attestation","announcementDate":"2020-05-10T00:00:00","deviceMetadataIds":null,"firmwareVersion":"0","deviceType":"external","isTestSign":false,"isFlightSign":false,"marketingNames":null,"selectedProductTypes":{"windows_v100_VB":"Unclassified"},"requestedSignatures":["WINDOWS_v100_X64_VB_FULL"],"additionalAttributes":null,"packageType":null}
Correlation Id: d1cc9a7c-280e-4977-a10b-16fd4a7c1f63
Return: -2 (UNHANDLED_EXCEPTION)
-1

Attestation Submission

Create Product

  • Create JSON
  • Submit
    Did not find product ID
    SurfaceDevCenterManager v1.0.0.1

Create Option
Unhandled Exception:
System.Net.Http.HttpRequestException: An error occurred while sending the reque
st. ---> System.Net.WebException: The underlying connection was closed: An unex
pected error occurred on a receive. ---> System.IO.IOException: Unable to read
data from the transport connection: An existing connection was forcibly closed
by the remote host. ---> System.Net.Sockets.SocketException: An existing connec
tion was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult)
at System.Net.TlsStream.EndRead(IAsyncResult asyncResult)
at System.Net.PooledStream.EndRead(IAsyncResult asyncResult)
at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, T
ransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult a
r)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNo
tification(Task task)
at Microsoft.Devices.HardwareDevCenterManager.Utility.AuthorizationHandler.<
SendAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNo
tification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.
d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNo
tification(Task task)
at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.
d__111.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNo tification(Task task) at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler. <HdcPost>d__131.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNo
tification(Task task)
at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.
d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNo
tification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at SurfaceDevCenterManager.Program.d__6.MoveNext() in E:\Home\mtk
20241\Attestation_task\SDCM-main_1\SDCM-main\SurfaceDevCenterManager\Program.cs
:line 227
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNo
tification(Task task)
at SurfaceDevCenterManager.Program.Main(String[] args) in E:\Home\mtk20241\A
ttestation_task\SDCM-main_1\SDCM-main\SurfaceDevCenterManager\Program.cs:line 6
0
Last Command:
ERROR (DevCenterErrorDetails)
Code:
HttpCode:
Message:
Correlation Id: 66d7db57-d945-4979-bce1-0213252b764c
Request Id: 431a1487-6795-4830-aa08-75218d85f36c
Method: POST
Url: https://manage.devcenter.microsoft.com/v2.0/my/hardware/product
s
Content: {"productName":"mediatek_driver_Attestation","testHarness":"Att
estation","announcementDate":"2020-05-10T00:00:00","deviceMetadataIds":null,"fi
rmwareVersion":"0","deviceType":"external","isTestSign":false,"isFlightSign":fa
lse,"marketingNames":null,"selectedProductTypes":{"windows_v100_VB":"Unclassifi
ed"},"requestedSignatures":["WINDOWS_v100_x64_vb_FULL"],"additionalAttributes":
null,"packageType":null}
Correlation Id: 66d7db57-d945-4979-bce1-0213252b764c
Return: -2 (UNHANDLED_EXCEPTION)

signed Package download fails partner center dashboard APIs

Correlation Id: c13c419a-f1e8-4e7d-b93d-6d52ccc39d23
Return: 0 (SUCCESS)

Download File
SurfaceDevCenterManager v1.0.0.1
Download Option ./DRIVER_sign/MT7961X64.cab.signed.zip
Fetch Submission Info
Unhandled Exception:
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.d__9.MoveNext() in C:\Users\DTMLLUAdminUser\Source\Repos\devices-hardware-dev-center-manager\src\Microsoft.Devices.HardwareDevCenterManager\DevCenterHandler.cs:line 125
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.d__101.MoveNext() in C:\Users\DTMLLUAdminUser\Source\Repos\devices-hardware-dev-center-manager\src\Microsoft.Devices.HardwareDevCenterManager\DevCenterHandler.cs:line 195 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.<HdcGet>d__111.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.d__18.MoveNext() in C:\Users\DTMLLUAdminUser\Source\Repos\devices-hardware-dev-center-manager\src\Microsoft.Devices.HardwareDevCenterManager\DevCenterHandler.cs:line 301
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at SurfaceDevCenterManager.Program.d__6.MoveNext() in C:\Users\DTMLLUAdminUser\Downloads\SDCM-main\SDCM-main\SurfaceDevCenterManager\Program.cs:line 590
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SurfaceDevCenterManager.Program.Main(String[] args) in C:\Users\DTMLLUAdminUser\Downloads\SDCM-main\SDCM-main\SurfaceDevCenterManager\Program.cs:line 60
Last Command:

Unhandled Exception: System.MissingFieldException: Field not found: 'Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterErrorDetails.Trace'.
at SurfaceDevCenterManager.Program.DevCenterErrorDetailsDump(DevCenterErrorDetails error)
at SurfaceDevCenterManager.Program.Main(String[] args) in C:\Users\DTMLLUAdminUser\Downloads\SDCM-main\SDCM-main\SurfaceDevCenterManager\Program.cs:line 67

Done

Create shipping label get error.

We cannot create shipping label by API.
Return error : readOnlyProduct, Not allowed to create the shipping labels on a read only product.
But the product's permission is "Publisher", not "Read-only".

How to create shipping label which product's permission is "Publisher"?
Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.