Closed kgowthampqube closed 10 months ago
You need to replace my-org-tenant-id with the tenant Id from the environment. When in the BC admin center it’s the guid in the url
Other than that, you have environmentType = sandbox, and environmentName of production. So, you created a Sandbox and called it Production?
From: kgowthampqube @.> Sent: Thursday, October 19, 2023 10:18 AM To: microsoft/AL @.> Cc: Subscribed @.***> Subject: [microsoft/AL] Cannot download symbols for D365 BC Trial version (Issue #7550)
I am a beginner in D365 Business Central and we are evaluating the product. I have signed up for Business Central online (cloud) trial. Trying to do customization via VS Code. Here are the steps I followed:
If you are targeting a cloud instance, supply these IDs if contacting Microsoft support. [2023-10-19 14:43:29.74] The request for path /v2.0/Production/dev/metadata?tenant=my-org-tenant-id failed with code InternalServerError. Reason: Internal Server Error [2023-10-19 14:43:29.75] Sending request to https://api.businesscentral.dynamics.com/v2.0/Production/dev/metadata?tenant=my-org-tenant-id [2023-10-19 14:43:52.16] Error: An error occured while processing the request. Request ID: 29b053c0----3a209cb05bb1 Session ID: 6a65a065----7bf95178b076
Can anyone help me figuring out what I'm doing wrong here?
— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AL/issues/7550, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABTP3R32P2UZ3T2M66KF3PLYADV27AVCNFSM6AAAAAA6G3LRJ6VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2TCNRZGM3TMOI. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>
You cannot push a PTE extension from VS Code to a production environment. In the admin center, copy the production environment to a type of sandbox and give it a name. For instance mine are typically QA, and my launch file would then look like
{ "version": "0.2.0", "configurations": [ { "type": "al", "request": "launch", "name": "cloud sandbox", "tenant": "123c12e3-fecb-41ea-9f37-b5dc260ab17d", "environmentType": "Sandbox", "environmentName": "QA", "breakOnError": "ExcludeTry", "launchBrowser": true, "enableLongRunningSqlStatements": true, "enableSqlInformationDebugger": true } ] }
Note the tenant id should be yours (and the above tenant id is not a valid one - just a guid example) That should allow you to get the symbols and push to the sandbox
For Production, you need to manually upload the PTE app file, or use something like AL-go
Thanks a lot. It worked.
Closing as configuration/setup question and resolved by friendly partner
I am a beginner in D365 Business Central and we are evaluating the product. I have signed up for Business Central online (cloud) trial. Trying to do customization via VS Code. Here are the steps I followed:
If you are targeting a cloud instance, supply these IDs if contacting Microsoft support. [2023-10-19 14:43:29.74] The request for path /v2.0/Production/dev/metadata?tenant=my-org-tenant-id failed with code InternalServerError. Reason: Internal Server Error [2023-10-19 14:43:29.75] Sending request to https://api.businesscentral.dynamics.com/v2.0/Production/dev/metadata?tenant=my-org-tenant-id [2023-10-19 14:43:52.16] Error: An error occured while processing the request. Request ID: 29b053c0----3a209cb05bb1 Session ID: 6a65a065----7bf95178b076
Can anyone help me figuring out what I'm doing wrong here?