Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

renewing SAS key for marketing anatyics blob fails

(0) ShareShare
ReportReport
Posted on by 10

Hi,

I've set up a blob container to collect marketing data. A SAS URI was created with Azure storage explorer as explained in the online documentation (Prepare for analytic reporting with Power BI (Dynamics 365 Marketing) | Microsoft Docs). 

Now I want to add a new SAS URI with another start and end time validity period but when putting in the URI in D365 Marketing and saving the configuration it shows and error:

Exception Message: Given blob connection url SAS Token start time part is invalid. Url: xxxxxxxxxx.blob.core.windows.net/xxxxxx?sv=2019-12-12&st=2021-02-12T08%3A02%3A00Z&se=2022-12-31T22%3A59%3A00Z

ErrorCode: -2147220891
HexErrorCode: 0x80040265

TraceText:
[Microsoft.Dynamics.Crm.MarketingPlugins: Microsoft.Dynamics.Crm.MarketingPlugins.Plugins.CdsaConnectorConfiguration.CdsaConnectorConfigurationPlugin]
[6d4cd7b2-31b2-4c35-8991-dae9dc6526ad: Microsoft.Dynamics.Crm.MarketingPlugins.Plugins.CdsaConnectorConfiguration.CdsaConnectorConfigurationPlugin: Update]


2021-02-12T07:21:30.4356013Z :: Processing message: Update
2021-02-12T07:21:30.4356013Z :: Updating existing entity
2021-02-12T07:21:30.4356013Z :: Given blob connection url SAS Token start time part is invalid. Url: ....
2021-02-12T07:21:30.4356013Z :: Logging exception with Message:Given blob connection url SAS Token start time part is invalid.
2021-02-12T07:21:30.4981003Z :: ValidationException: Given blob connection url SAS Token start time part is invalid. Url:....

The new SAS URI was created again with Azure storage explorer.

Anyone that has experienced similar issue?

Regards,

René van Maastricht

  • Suggested answer
    Vivian Voss Profile Picture
    Vivian Voss 2 User Group Leader on at
    RE: renewing SAS key for marketing anatyics blob fails

    Hi,

    We just had the same issue and created a MS support ticket for that. We figured out that the url from Azure is url encoded (www.w3schools.com/.../ref_urlencode.ASP) and Dynamics apparently can't handle that.

    Once we changed the url, it worked fine :)

    So for your link. You can see that everywhere in the link where is time, there is also "%3A" in between? Replace that with ":" and it should work.

    BR, Vivian

  • RvMaastricht Profile Picture
    RvMaastricht 10 on at
    RE: renewing SAS key for marketing anatyics blob fails

    .

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans