DawidPotgieter / Dynamics-CRM-Binary-Storage-Options

A Dynamics CRM plugin to transparently store attachment binaries outside CRM database. Azure Blob or File storage for instance.
GNU Affero General Public License v3.0
34 stars 15 forks source link

Provider Type: AzureBlob error #16

Closed charomps closed 5 years ago

charomps commented 5 years ago

When installing the V4.1 solution into my sandbox I always keep getting the error: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: The storage provider 'AzureBlob' failed to when calling 'Create' method. When I'm trying to create a note with an attachment.

My unsecure Config seems right:

<Settings>
 <Setting key="ConfigurationProviderType" value="PluginStepConfigurationProvider" />
 <Setting key="Provider Type" value="AzureBlob" />
 <Setting key="Compression" value="Zip" />
 <Setting key="CompressionThreshold" value="0.95" />
 <Setting key="Encryption" value="AES256" />
 <Setting key="annotationFolder" value="annotations" />
 <Setting key="annotationRoot" value="crm" />
 <Setting key="activitymimeattachmentFolder" value="activitymimeattachments" />
 <Setting key="activitymimeattachmentRoot" value="crm" />
</Settings>

and my secure

<Settings>
 <Setting key="StorageAccount" value="XXX" />
 <Setting key="StorageKey" value="XXX" />
 <Setting key="AES256EncryptionKey" value="XXX" />
 <Setting key="AES256EncryptionKeySalt" value="XXX" />
</Settings>

I am using CRM online.

charomps commented 5 years ago

And the answer to my problem is quite simple... I had not created the blob container called "crm"