Показать сообщение отдельно
Старый 31.01.2022, 15:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
a33ik: Get connected to azure storage using azure storage explorer to see the local d365 blob content
Источник: http://daxonline.org/1742-get-connec...b-content.html
==============

To get account name and key from D365FO, create following runnable class:

using Microsoft.Dynamics.Clx.ServicesWrapper;class GetAzureBlobStorageAccount{ public static void main(Args _args) { info('CsuStorageConnectionString = ' + CloudInfrastructure::GetCsuStorageConnectionString()); info('CsuClientCertificateThumbprint = ' + CloudInfrastructure::GetCsuClientCertificateThumbprint()); }}
Get AccountName and AccountKey from the infolog:

CsuStorageConnectionString = AccountName=011af4e4854917d;AccountKey=j7asdrf3uP3IJ9Ym5K0xrVC4yRJLLg+oZApucdCDHz25SyRDB/7+46ioGeM3jG1nhYNR5ZjpIfpehcChNesog==;DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net
To browse result:

Download and Install Microsoft Azure Storage Explorer.
- Storage account or service
- Account name and key
- populate Display name, Account name, Account key



Источник: http://daxonline.org/1742-get-connec...b-content.html