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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Can't get access token...
Power Automate
Answered

Can't get access token for Power Platform Custom Connector

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi experts,

My client wants to use a flow to access the data from a Facebook page.

When following the instruction from here at Github and Custom Facebook Connector from Daniel Christian , I got an error message:

{"error":{"message":"(#200) If posting to a group, requires app being installed in the group, and \\\n either publish_to_groups permission with user token, or both manage_pages \\\n and publish_pages permission with page token; If posting to a page, \\\n requires both manage_pages and publish_pages as an admin with \\\n sufficient administrative permission","type":"OAuthException","code":200,"fbtrace_id":"AzXqcby3Z7R72M88cOfZ7ED"}}

 

I found that there's no Get my Access Token option when using the connector and it should be the root cause.

Can you suggest how I can modify the json file to make it work?

image.png

Thanks!

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Maybe you can try to report this issue directly on the Github. There seems to be no similar thread in the forum.

  • StefanM Profile Picture
    9 on at
    Try using paconn from the github repo( https://github.com/microsoft/PowerPlatformConnectors/blob/master/tools/paconn-cli/README.md). I tried to build the connector step by step like you did and it failed with the same error you get. After uploading the sample files with paconn it worked like a charm. You won't get the get my access token option like it is shown in the tutorial after uploading the sample! Just sign in with you Facebook account and it should work
  • Verified answer
    WH-25070106-0 Profile Picture
    Microsoft Employee on at

    Hi @StefanM ,

    Thanks very much for your input!

    I followed your words to use CLI but still faced some issues.

    Can you share how did you uploading the sample files in more details?

    I followed the instructions in the repo but faced an issue when commanding 'Create a Custom Connector'.

    The issue was cannot import name 'BlockBlobService' from 'azure.storage.blob'.

    It seemed to be related to a newer version of Azure pack but don't know how to fix it.

     

    Would it be possible to use the Power Automate interface instead of CLI?

    I'm new to CLI, would appreciate any further sharing.

    Thanks! 

  • Verified answer
    StefanM Profile Picture
    9 on at

    Hi @chungchung.,

     

    you can fix this easily by running "pip install azure". This should uninstall the current installed azure-storage-blob module and install a working version. After you have run that command you should have installed the module version 1.5.0.

    You can check this with "pip freeze".

     

    It should look similar to this:

    AzureStoragePython - Kopie.jpg

     

     

     

     

     

    This are the step I used to upload the sample files:

    paconn login
    paconn create --api-prop .\apiProperties.json --api-def .\apiDefinition.swagger.json --icon .\icon.png

     

    I have found no workaround for the UI but I'm not a developer, so maybe someone with more coding skills can. I'm happy that I got this one up and runnig.

     

    Hope that helps.

  • WH-25070106-0 Profile Picture
    Microsoft Employee on at

    Hi @StefanM ,

    Thanks for your help!

    The issue has been resolved!

  • rakadakaka Profile Picture
    77 on at

    @chungchung   : Can you please let us know , How the issue was resolved ?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 315 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 273 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 117 Super User 2026 Season 1

Last 30 days Overall leaderboard