November Happy Hour will be moved to Thursday December 5th.

After upgrading to CMS 12, Azure blob objects not loading

Vote:
 

Hello,

After upgrading to CMS 12 and deploying to a new site, the Azure blob objects are not loading. I made sure it is using the right provider...

 services.AddAzureBlobProvider(o =>
                {
                    o.ContainerName = "qdsitemedia";
                });
             

Anything else I need to make sure of?

Thanks

Daman

#294107
Jan 04, 2023 0:21
Vote:
 

Did you add connection string to appsettings.json

#294109
Jan 04, 2023 4:40
Vote:
 

Is it not supposed to get the connection string from the Azure portal?

#294110
Jan 04, 2023 4:48
Vote:
 

If you are deploying to DXP than you need to follow these steps

public class Startup
{
    public void ConfigureServices(IServiceCollection services, IConfiguration configuration)
    {
        ...
        services.AddCmsCloudPlatformSupport(configuration);
    }
}
#294141
Jan 04, 2023 18:32
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.