web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

application/octet-stream error using HTTP azure AD connect to add members to a marketing list in dynamics365

(0) ShareShare
ReportReport
Posted on by

I am receiving an output error from HTTP azure connect AD when attempting to ad members to a marketing list. Below is image.

HTTP Azure AD.png

I am following this topic to add the members where the error I have was referred to but not resolved so hoping someone can help.

https://community.dynamics.com/365/marketing/f/dynamics-365-for-marketing-forum/359819/adding-a-contact-to-marketing-list-through-ms-flow?pifragment-109121=1#

 

I did add a line of code (as suggested in another post to the body (highlighted in red box below) but it hasn't made any difference.

HD2.png

 

I have the same question (0)
  • MJain Profile Picture
    2,450 on at
    Re: application/octet-stream error using HTTP azure AD connect to add members to a marketing list in dynamics365

    Hi @Anonymous ,

     

    Please ensure following steps are done : 

    1. List should be static , should not be locked(Locked --> No), Targeted At field should be contact

    2. Use Perform an unbound action from CDS (current environment) connector

    3. Put the following values in that :

    List id : Guid of the list that you want to add members to.

    Members : Array , so if you are adding single contact just use 

    contacts(GUID)

     

    Capture.JPG

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at
    Re: application/octet-stream error using HTTP azure AD connect to add members to a marketing list in dynamics365

    Thanks ManishJain

    However, I don't/can't utilise the CDS solution as CDS not enabled on environment I am using. Instead I am connecting to our Dynamics 365 application via the D365 connector and then using the HTTP invoke request to add to the Marketing list. I am following the suggestion in the link I provided in my original post and the user does make reference to the same error I received but he didn't get a response either. So the solution needs to be on the HTTP with Azure connector. 

  • MJain Profile Picture
    2,450 on at
    Re: application/octet-stream error using HTTP azure AD connect to add members to a marketing list in dynamics365

    Hi @Anonymous ,

     

    Just use the following code in the body of http request. Also in the url you do not need to put full url, it should be

    /api/data/v9.1/AddListMembersList

     

    {
    "List": {
    "listid": "GUID",
    "@odata.type": "Microsoft.Dynamics.CRM.list"
    },
    "Members": [{
    "contactid": "GUID",
    "@odata.type": "Microsoft.Dynamics.CRM.contact"
    }]
    }

     

    Thanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard