Issues with LogicApp RosettaNet connector

Issues with LogicApp RosettaNet connector

This article is contributed. See the original author and article here.

The problem:


 


If you use LogicApp Rosettanet connector(i.e: from RN Encode/Decode templates) to send/receive documents to/from external Rosettanet systems like BizTalk server, you may meet different MIME decoding/disassembler errors like the following:


 


Receive pipeline rejected incoming message


due to the following RNIF exception:


UNP.PRMB.VALERR : A failure occurred while validating the preamble.                            


 


Details:


Invalid character in the given encoding. Line 10, position 13.


 


Analysis:


 


The following is an original message from LogicApp Rosettanet connector:


 


MIME-Version: 1.0


Content-Type: application/xml


Content-Transfer-Encoding: base64


Content-Description: Preamble_MP


Content-Disposition: attachment;           filename=”86822f5b5dc84dca974635740be5e359″


Content-Location: RN-Preamble


 


77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBQcmVhbWJsZSBTWVNURU0gIlByZWFtYmxlX01TX1YwMl8wMC5kdGQiW10+DQo8UHJlYW1ibGU+DQogIDxzdGFuZGFyZE5hbWU+DQogICAgPEdsb2JhbEFkbWluaXN0ZXJpbmdBdXRob3JpdHlDb2RlPlJvc2V0dGFOZXQ8L0dsb2JhbEFkbWluaXN0ZXJpbmdBdXRob3JpdHlDb2RlPg0KICA8L3N0YW5kYXJkTmFtZT4NCiAgPHN0YW5kYXJkVmVyc2lvbj4NCiAgICA8VmVyc2lvbklkZW50aWZpZXI+VjAyLjAwPC9WZXJzaW9uSWRlbnRpZmllcj4NCiAgPC9zdGFuZGFyZFZlcnNpb24+DQo8L1ByZWFtYmxlPg==


–_0ea1da80-4cfa-4c0a-9047-c16e3d663d45_


Content-Type: application/xml


Content-Transfer-Encoding: base64


Content-Description: DeliveryHeader_MP


Content-Disposition: attachment;           filename=”a09bdee8c9f246faa8b15b5931fc4c4e”


Content-Location: RN-Delivery-Header


 


77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBEZWxpdmVyeUhl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0dsb2JhbEJ1c2luZXNzSWRlbnRpZmllcj4NCiAgICAgIDxsb2NhdGlvbklEPg0KICAgICAgICA8VmFsdWU+QVpVUkU8L1ZhbHVlPg0KICAgICAgPC9sb2NhdGlvbklEPg0KICAgIDwvUGFydG5lcklkZW50aWZpY2F0aW9uPg0KICA8L21lc3NhZ2VTZW5kZXJJZGVudGlmaWNhdGlvbj4NCiAgPG1lc3NhZ2VUcmFja2luZ0lEPg0KICAgIDxJbnN0YW5jZUlkZW50aWZpZXI+YzkzOTQwOGQwY2ZjNGI5YmIyY2JiZTNiMWU1MjgyNTc8L0luc3RhbmNlSWRlbnRpZmllcj4NCiAgPC9tZXNzYWdlVHJhY2tpbmdJRD4NCjwvRGVsaXZlcnlIZWFkZXI+


–_0ea1da80-4cfa-4c0a-9047-c16e3d663d45_


Content-Type: application/xml


Content-Transfer-Encoding: base64


Content-Description: RN-Service-Header


Content-Disposition: attachment;           filename=”de7c1086c0774fb9b32b8cea930cb53e”


Content-Location: RN-Service-Header


 


77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBTZXJ2aWNlSGVhZGVyIFNZU1RFTSAiU2VydmljZUhlYWRlcl9NU19WMDJfMDAuZHRkIltdPg0KPFNlcnZpY2VIZWFkZXI+DQogIDxQcm9jZXNzQ29udHJvbD4NCiAgICA8QWN0aXZpdHlDb250cm9sPg0KICAgICAgPEJ1c2luZXNzQWN0aXZpdHlJZGVudGlmaWVyPkRpc3RyaWJ1dGUgQXN5bmNocm9ub3VzIFRlc3QgTm90aWZpY2F0aW9uPC9CdXNpbmVzc0FjdGl2aXR5SWRlbnRpZmllcj4NCiAgICAgIDxNZXNzYWdlQ29udHJvbD4NCiAgICAgICAgPGZyb21Sb2xlPg0KICAgICAgICAgIDxHbG9iYWxQYXJ0bmVyUm9sZUNsYXNzaWZpY2F0aW9uQ29kZT5Jbml0aWF0b3I8L0dsb2JhbFBhcnRuZXJSb2xl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HQ+DQogICAgICAgIDwvZG9tYWluPg0KICAgICAgICA8R2xvYmFsQnVzaW5lc3NJZGVudGlmaWVyPjA1MjM1NDA2OTwvR2xvYmFsQnVzaW5lc3NJZGVudGlmaWVyPg0KICAgICAgICA8bG9jYXRpb25JRD4NCiAgICAgICAgICA8VmFsdWU+QVpVUkU8L1ZhbHVlPg0KICAgICAgICA8L2xvY2F0aW9uSUQ+DQogICAgICA8L1BhcnRuZXJJZGVudGlmaWNhdGlvbj4NCiAgICA8L0tub3duSW5pdGlhdGluZ1BhcnRuZXI+DQogIDwvUHJvY2Vzc0NvbnRyb2w+DQo8L1NlcnZpY2VIZWFkZXI+


–_0ea1da80-4cfa-4c0a-9047-c16e3d663d45_


Content-Type: application/xml;


                  charset=”utf-8″


Content-Transfer-Encoding: base64


Content-Description: ServiceContent_MP


Content-Disposition: attachment;           filename=”377ffd9bfb4c45dba5fb7779afada257″


Content-Location: RN-Service-Content


 


<?xml version=”1.0″ encoding=”UTF-8″ ?>


<!DOCTYPE Pip0C1AsynchronousTestNotification SYSTEM “0C1_MS_R01_02_AsynchronousTestNotification.dtd”>


<Pip0C1AsynchronousTestNotification>


                  <AsynchronousTest></AsynchronousTest>


                  <fromRole>


                                    <PartnerRoleDescription>


                                                      <ContactInformation>


                                                                        <contactName>


                                                                                          <FreeFormText xml:lang=”EN”>John Doe Sender</FreeFormText>


                                                                        </contactName>


                                                                        <EmailAddress>jdoesender@johndoe.com</EmailAddress>


                                                                        <facsimileNumber>


                                                                                          <CommunicationsNumber>000.000.0001</CommunicationsNumber>


                                                                        </facsimileNumber>


                                                                        <telephoneNumber>


                                                                                          <CommunicationsNumber>000.000.0001</CommunicationsNumber>


                                                                        </telephoneNumber>


                                                      </ContactInformation>


                                              <GlobalPartnerRoleClassificationCode>Initiator</GlobalPartnerRoleClassificationCode>


                                                      <PartnerDescription>


                                                                        <BusinessDescription>


                                                                                          <GlobalBusinessIdentifier>123456783</GlobalBusinessIdentifier>


                                                                                          <GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode>


                                                                        </BusinessDescription>


                                                                        <GlobalPartnerClassificationCode>Warehouser</GlobalPartnerClassificationCode>


                                                      </PartnerDescription>


                                    </PartnerRoleDescription>


                  </fromRole>


                  <GlobalDocumentFunctionCode>Request</GlobalDocumentFunctionCode>


                  <thisDocumentGenerationDateTime>


                                    <DateTimeStamp>20040122T073935.737Z</DateTimeStamp>


                  </thisDocumentGenerationDateTime>


                  <thisDocumentIdentifier>


                    <ProprietaryDocumentIdentifier>20040122T073935.737Z</ProprietaryDocumentIdentifier>


                  </thisDocumentIdentifier>


                  <toRole>


                                    <PartnerRoleDescription>


                                                      <ContactInformation>


                                                                        <contactName>


                                                                                          <FreeFormText xml:lang=”EN”>John Doe Receiver</FreeFormText>


                                                                        </contactName>


                                                                        <EmailAddress>jdoereceiver@johndoe.com</EmailAddress>


                                                                        <facsimileNumber>


                                                                                          <CommunicationsNumber>000.000.0002</CommunicationsNumber>


                                                                        </facsimileNumber>


                                                                        <telephoneNumber>


                                                                                          <CommunicationsNumber>000.000.0002</CommunicationsNumber>


                                                                        </telephoneNumber>


                                                      </ContactInformation>


                                         <GlobalPartnerRoleClassificationCode>Responder</GlobalPartnerRoleClassificationCode>


                                                      <PartnerDescription>


                                                                        <BusinessDescription>


                                                                                          <GlobalBusinessIdentifier>123456784</GlobalBusinessIdentifier>


                                                                                          <GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode>


                                                                        </BusinessDescription>


                                                                        <GlobalPartnerClassificationCode>End User</GlobalPartnerClassificationCode>


                                                      </PartnerDescription>


                                    </PartnerRoleDescription>


                  </toRole>


</Pip0C1AsynchronousTestNotification>


 


–_0ea1da80-4cfa-4c0a-9047-c16e3d663d45_–


 


 


Below is a modified message which can be accepted by BizTalk:


 


POST http://xx.xx.xx.xx/BTARNHttpReceive/BTSHTTPReceive.dll?xRNResponseType=async HTTP/1.1


Host: xx.xx.xx.xx


Content-Length: 8573


Expect: 100-continue


Connection: Keep-Alive


 


MIME-Version: 1.0


MIME-Version: 1.0


Content-Type: multipart/related; start=a1b66a8d58d34adb81d17737ec2b2819;


                  type=”application/xml”; boundary=”_410bf7bd-d294-4c7e-9c17-0bf85b7890d2_”


 


–_410bf7bd-d294-4c7e-9c17-0bf85b7890d2_


MIME-Version: 1.0


Content-Type: application/xml


Content-Transfer-Encoding: base64


Content-ID: afafcd4ecb04489cbed76f7e7a0e0492


Content-Description: Preamble_MP


Content-Disposition: attachment;           filename=”df9591d3f63e465bbefc37bcff854d47″


Content-Location: RN-Preamble


 


77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBQcmVhbWJsZSBTWVNURU0gIlByZWFtYmxlX01TX1YwMl8wMC5kdGQiW10+DQo8UHJlYW1ibGU+DQogIDxzdGFuZGFyZE5hbWU+DQogICAgPEdsb2JhbEFkbWluaXN0ZXJpbmdBdXRob3JpdHlDb2RlPlJvc2V0dGFOZXQ8L0dsb2JhbEFkbWluaXN0ZXJpbmdBdXRob3JpdHlDb2RlPg0KICA8L3N0YW5kYXJkTmFtZT4NCiAgPHN0YW5kYXJkVmVyc2lvbj4NCiAgICA8VmVyc2lvbklkZW50aWZpZXI+VjAyLjAwPC9WZXJzaW9uSWRlbnRpZmllcj4NCiAgPC9zdGFuZGFyZFZlcnNpb24+DQo8L1ByZWFtYmxlPg==


–_410bf7bd-d294-4c7e-9c17-0bf85b7890d2_


Content-Type: application/xml


Content-Transfer-Encoding: base64


Content-ID: 9eeecf9805834e07a01e5fa893e54472


Content-Description: DeliveryHeader_MP


Content-Disposition: attachment;           filename=”254cb5e4c75b4690a7bdcd28fccf4f97″


Content-Location: RN-Delivery-Header


 


77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBEZWxpdmVyeUhlYWRlciBTWVNURU0gIkRlbGl2ZXJ5SGVhZGVyX01TX1YwMl8wMC5kdGQiW10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0KICAgICAgICA8VmFsdWU+QVpVUkU8L1ZhbHVlPg0KICAgICAgPC9sb2NhdGlvbklEPg0KICAgIDwvUGFydG5lcklkZW50aWZpY2F0aW9uPg0KICA8L21lc3NhZ2VTZW5kZXJJZGVudGlmaWNhdGlvbj4NCiAgPG1lc3NhZ2VUcmFja2luZ0lEPg0KICAgIDxJbnN0YW5jZUlkZW50aWZpZXI+YjhhYTY4ZjI0N2NlNDA1ZjkwMDU0OGYwY2Y2MjBhYWE8L0luc3RhbmNlSWRlbnRpZmllcj4NCiAgPC9tZXNzYWdlVHJhY2tpbmdJRD4NCjwvRGVsaXZlcnlIZWFkZXI+


–_410bf7bd-d294-4c7e-9c17-0bf85b7890d2_


Content-Type: application/xml


Content-Transfer-Encoding: base64


Content-ID: a1b66a8d58d34adb81d17737ec2b2819


Content-Description: RN-Service-Header


Content-Disposition: attachment;           filename=”465a75c692254f86a813b6d38dee4890″


Content-Location: RN-Service-Header


 


77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBTZXJ2aWNlSGVhZGVyIFNZU1RFTSAiU2VydmljZUhlYWRlcl9NU19WMDJfMDAuZHRkIltdPg0KPFNlcnZpY2VIZWFkZXI+DQogIDxQcm9jZXNzQ29udHJvbD4NCiAgICA8QWN0aXZpdHlDb250cm9sPg0KICAgICAgPEJ1c2luZXNzQWN0aXZpdHlJZGVudGlmaWVyPkRpc3RyaWJ1dGUgQXN5bmNocm9ub3VzIFRlc3QgTm90aWZpY2F0aW9uPC9CdXNpbmVzc0FjdGl2aXR5SWRlbnRpZmllcj4NCiAgICAgIDxNZXNzYWdlQ29udHJvbD4NCiAgICAgICAgPGZyb21Sb2xlPg0KICAgICAgICAgIDxHbG9iYWxQYXJ0bmVyUm9sZUNsYXNzaWZpY2F0aW9uQ29kZT5Jbml0aWF0b3I8L0dsb2JhbFBhcnRuZXJSb2xlQ2xhc3NpZmljYXRpb25Db2RlPg0KICAgIC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8R2xvYmFsQnVzaW5lc3NJZGVudGlmaWVyPjA1MjM1NDA2OTwvR2xvYmFsQnVzaW5lc3NJZGVudGlmaWVyPg0KICAgICAgICA8bG9jYXRpb25JRD4NCiAgICAgICAgICA8VmFsdWU+QVpVUkU8L1ZhbHVlPg0KICAgICAgICA8L2xvY2F0aW9uSUQ+DQogICAgICA8L1BhcnRuZXJJZGVudGlmaWNhdGlvbj4NCiAgICA8L0tub3duSW5pdGlhdGluZ1BhcnRuZXI+DQogIDwvUHJvY2Vzc0NvbnRyb2w+DQo8L1NlcnZpY2VIZWFkZXI+


–_410bf7bd-d294-4c7e-9c17-0bf85b7890d2_


Content-Type: application/xml;


                  charset=”utf-8″


Content-Transfer-Encoding: base64


Content-ID: 4c9a493f37144d8988741b641eb30086


Content-Description: ServiceContent_MP


Content-Disposition: attachment;           filename=”216c6b984eb94a2995b707ca57c13bc4″


Content-Location: RN-Service-Content


 


PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiID8+DQo8IURPQ1RZUEUgUGlwMEMxQXN5bmNocm9ub3VzVGVzdE5vdGlmaWNhdGlvbiBTWVNURU0gIjBDMV9NU19SMDFfMDJfQXN5bmNocm9ub3VzVGVzdE5vdGlmaWNhdGlvbi5kdGQiPg0KPFBpcDBDMUFzeW5jaHJvbm91c1Rlc3ROb3RpZmljYXRpb24+DQoJPEFzeW5jaHJvbm91c1Rlc3Q+PC9Bc3luY2hyb25vdXNUZXN0Pg0KCTxmcm9tUm9sZT4NCgkJPFBhcnRuZXJSb2xlRGVzY3JpcHRpb24+DQoJCQk8Q29udGFjdEluZm9ybWF0aW9uPg0KCQkJCTxjb250YWN0TmFtZT4NCgkJCQkJPEZyZWVGb3JtVGV4dCB4bWw6bGFuZz0iRU4iPkpvaG4gRG9lIFNlbmRlcjwvRnJlZUZvcm1UZXh0Pg0KCQkJCTwvY29udGFjdE5hbWU+DQoJCQkJPEVtYWlsQWRkcmVzcz5qZG9lc2VuZGVyQG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VyUm9sZUNsYXNzaWZpY2F0aW9uQ29kZT5SZXNwb25kZXI8L0dsb2JhbFBhcnRuZXJSb2xlQ2xhc3NpZmljYXRpb25Db2RlPg0KCQkJPFBhcnRuZXJEZXNjcmlwdGlvbj4NCgkJCQk8QnVzaW5lc3NEZXNjcmlwdGlvbj4NCgkJCQkJPEdsb2JhbEJ1c2luZXNzSWRlbnRpZmllcj4xMjM0NTY3ODQ8L0dsb2JhbEJ1c2luZXNzSWRlbnRpZmllcj4NCgkJCQkJPEdsb2JhbFN1cHBseUNoYWluQ29kZT5JbmZvcm1hdGlvbiBUZWNobm9sb2d5PC9HbG9iYWxTdXBwbHlDaGFpbkNvZGU+DQoJCQkJPC9CdXNpbmVzc0Rlc2NyaXB0aW9uPg0KCQkJCTxHbG9iYWxQYXJ0bmVyQ2xhc3NpZmljYXRpb25Db2RlPkVuZCBVc2VyPC9HbG9iYWxQYXJ0bmVyQ2xhc3NpZmljYXRpb25Db2RlPg0KCQkJPC9QYXJ0bmVyRGVzY3JpcHRpb24+DQoJCTwvUGFydG5lclJvbGVEZXNjcmlwdGlvbj4NCgk8L3RvUm9sZT4NCjwvUGlwMEMxQXN5bmNocm9ub3VzVGVzdE5vdGlmaWNhdGlvbj4=


 


–_410bf7bd-d294-4c7e-9c17-0bf85b7890d2_–


 


After above modification, the modified 0C1 message can be successfully processed by BizTalk.


 


Items modified:


 



  1. Added Content-Type with boundary string. (Green)

  2. Added first boundary string is missing. (Yellow)

  3. Added Content-IDs on all segments. (Red) NOTE: Content-ID is optional according to Rosettanet specification.

  4. Corrected ServiceContent part’s encoding to Base64. (Blue)

  5. processName is incorrectly set as PIP name in PIP configuration.


WenJun_Zhang_1-1617693413555.jpeg


 


This will lead to the following error in BizTalk:


 


Public Responder could not send an Async exception signal due to internal errors below:


                             RNIF Exception detail:-


              Error code:UNP.SHDR.VALERR


              Error Number:2005


              Description: PIP name specified does not match the PIP specification.


             


This is because the wrong processName is set as BusinessActivityIdentifier in ServiceHeader.


 


<?xml version=”1.0″ encoding=”utf-8″?>


<!DOCTYPE ServiceHeader SYSTEM “ServiceHeader_MS_V02_00.dtd”[]>


<ServiceHeader>


  <ProcessControl>


    <ActivityControl>


      <BusinessActivityIdentifier>Test0C1</BusinessActivityIdentifier>


      <MessageControl>


        <fromRole>


          <GlobalPartnerRoleClassificationCode>Initiator</GlobalPartnerRoleClassificationCode>


        </fromRole>


        <fromService>


          <GlobalBusinessServiceCode>Initiator Service</GlobalBusinessServiceCode>


 


To resolve this error, we need to manually edit the PIP in JSON and correct the processName as the same string of BizTalk PIP configuration:


 


WenJun_Zhang_2-1617693413560.jpeg


 


WenJun_Zhang_3-1617693413566.jpeg


 


Solution & workaround:


 


LogicApps product group is actively working on the fixes of these issues now.


 


For item #4 ServiceContent encoding issue, the corresponding fix has already been deployed to East US region and other regions’ deployment will be finished in couple of days as well.


For items #1 and #2, we can manually edit RN Encode/Decode LogicApps from template to add Content-Type and boundary string as a workaround(see below).


 


RN Encode LogicApp:


WenJun_Zhang_4-1617694429534.png


 


RN Decode LogicApp:


WenJun_Zhang_5-1617694460156.png


 


(The samples of these two modified workflows’ JSON definition can be found in attachment.)


 


Also, please don’t forget to correct processName in PIP config (Edit As JSON). For 3A4, processName should be Request Purchase Order.


{



    “properties”: {

        “processCode”: “3A4”,

        “processVersion”: “V02.02.00”,

        “processName”: “Request Purchase Order”,

        “activitySettings”: {


 


After all the changes above, your LogicApp should be able to successfully send/receive Rosettanet documents without error.


WenJun_Zhang_6-1617694668054.png


 

Can’t list pool due to encryption key after subscription suspension

Can’t list pool due to encryption key after subscription suspension

This article is contributed. See the original author and article here.

Can’t list pool due to encryption key after subscription suspension



For some reason, Subscription Account got suspended because of which unable to list the pools in the pool blade and you will see the following error message:


 


ReasonCode: AccountKeysNotFound.

 


Error Message: AccountEncryptionKeyUnavailable message: Account data could not be decrypted as the account encryption key is currently unavailable.


 


 Untitled.png


 


Cause
 


This is a known bug in Batch, typically associated with subscriptions being suspended due to credits running out, fraud, and other things for any period of time.


 


Solution


 


Since this is a known issue in Batch, the Product Team is already working on this.
 


We are aware of this issue and will deploy a fix in the future, but unfortunately. At this moment the customer’s only recourse is to delete and recreate the batch account.


in order to mitigate the issue. We apologize for any inconvenience this has caused.


 


 


Next Step


If your Azure issue is not addressed in this article, please submit a support request, on the Azure support page, select Get support.

Raising the minimum bar with Azure Automanage

Raising the minimum bar with Azure Automanage

This article is contributed. See the original author and article here.

Hello Folks,



I’ve always believed that one of the true roles of IT in any organizations is to help the business units achieve their goals while maintaining adequate control over company resources. This is not an all-encompassing rule. It’s just my own personal view of our role.



But to perform that role, we need to ensure that resources that are deployed are at the very least adequately inventoried, protected, monitored, and operated. Basically, we need to ensure that all the facets of the operation lifecycle of our resources are covered.


 


Automanage-1.png


 


That means that when deploying a new VM in Azure for example you need to ensure you’ve enrolled it in the following services:



These services if performed manually one by one could take you a significant amount of time.  And yes, I know…  This can be automated through Azure Resource Manager (ARM) templates, through PowerShell scripts, Azure CLI Scripts, and other means. However, when you do that, you now have to manage your environment AND your custom code.


 


In comes Azure Automanage…  A new service, currently in preview (at publishing time) that helps you automate this process without the need to create your own code for it.  For a demo of Azure Automanage you can see Sarah Lean’s first look video.


 


I meet with Dean Wells, Principal PM Manager for Azure Automanage.  He shared the genesis of the service, the current state and the roadmap for added functionality.


 


 


Even if this service is in preview, there are resources available for you to lean and try this new functionality.


 


Resources:



 


Check it out and let us know what you think.


 


Cheers!


 


Pierre


 

The Azure Data Architecture Map

The Azure Data Architecture Map

This article is contributed. See the original author and article here.

Hi,


 


I’m excited to announce this new map and I’m happy to see the great success (beyond expectations) of this map series. With nearly 300K views, these maps even gave birth to a more exhaustive book.


 


FYI, here are all the maps of the series:



Admittedly, the data map was by far the hardest to build, because there is a big functional overlap across data services. Nevertheless, I tried to identify the primary use case of each service, or where a given service shines the most. 



The purpose of the this map is to see, in a glimpse, which services may suit your functional needs but it is up to you to dig deeper.


 


Here is the map:


 


data architecture.png


 


 


 


which focuses on the following areas:



  • Traditional: many enterprises still deal with traditional BI and there is nothing wrong with it! This category regroups Azure services which you can use to build your cubes, run your ETL jobs, etc.

  • Modern: this category is the counterpart of the traditional category. For example, ELT is the modern counterpart of ETL…that’s a bit the spirit :). You may of course find services that are in both sides.

  • Big Data: Big Data is also recent in the data lanscape, so it could have been a subset of the modern group, but for sake of clarity, I decided to make it a separate group. 


  • Artificial Intelligence: AI is on every lips so I couldn’t skip it although this category was hard to craft. There is so much overlap across AI services that it’s kind of hard to categorize them. I tried to have a very condensed group.


  • Others: in this category, you’ll find concerns such as “sharing data with other companies”, “Governing data”, etc.


One note though: Microsoft is pushing hard on Azure Synapse Analytics and their aim is to have a all-in-one service, that combines decades of on-premises data practices and the most modern and top-notch data features. So, you’d better keep an eye on its development!


 


Here is the pointer to the map:


 













v 1.0 https://app.mindmapmaker.org/#m:mm6ae8a4dcadbd4b7fa3a97ef0e94cfa68https://app.mindmapmaker.org/#m:mmadb7589fc487469d82db3505e1d59560
PDF version







https://github.com/PacktPublishing/The-Azure-Cloud-Native-Architecture-Mapbook/blob/master/Chapter06/maps/Data%20Architecture.pdf



 



 

Azure Data Factory Product April 2021 Updates – At a Glance

This article is contributed. See the original author and article here.

The Azure Data Factory (ADF) engineering team values each opportunity to engage the community, and to hear directly from customers, and how we can work together to build better products together with customers.  Thank you for working with the ADF team together to drive innovations in the product and helping others to be successful with ADF.

We are excited  to share with you some of these recent ADF Product updates and put together the at-a-glance view of all the ADF product innovations that shipped recently to help you discover and learn about the latest updates.




We can’t wait to see what you build with Azure Data Factory.

Read more about the latest Azure Data Factory innovation on the Azure Data Factory blog.