Get connected to azure storage using azure storage explorer to see the local d365 blob content

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:
- Storage account or service
- Account name and key
- populate Display name, Account name, Account key

 

Search

About

DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics AX.

Authors are allowed to set their own AdSense units.
Join us.

Blog Tags