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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

PCF Control API Consume

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

I have a requirement to display the contact detail of one instance (B) to contact form of another Instance (A).

 

I have decided to use the PCF control and use the rest API call to other Instance as the user has the access to both environments.

 

both environments are created on the same power platform tenant.

 

Question is, how to consume the API with SSO, without promoting login? steps to use the ADAL or MSAL libraries ???.

 

 

I have the same question (0)
  • Power Platform Communities Profile Picture
    8 on at

    Hi @Gowrikaran , 

    Maybe is not what you're searching for, but what do you think about integrating a CanvasApp with details from instance B, in the form of instance A? 
    The idea of PCF would work of course (maybe you can make a custom action and call it from the PCF), but I think the CanvasApp possibility to combine more Connectors would make the work for you.

    Kind regards,

    Diana

  • Power Platform Communities Profile Picture
    8 on at

    Hi @DianaBirkelbach , thanks for the solution, yes that is a quick and good solution but  Canvas App is an extra cost and performance consideration. so prefer to use PCF control.

     

    Kind regards

     

     

  • Power Platform Communities Profile Picture
    8 on at

    Hi @Gowrikaran , 

    The PCF could use a CustomAction (CustomAPI when is released), and implement there the connection.

    Another alternative could be, maybe using Virtual Entities: then you don't need a PCF.

    Kind regards,

    Diana

     

  • Power Platform Communities Profile Picture
    8 on at

    Hi @DianaBirkelbach ,

     

    Thanks for your replay first,   I forgot to mention that additional requirement that users need to impersonate on other Organisation as well, based on their access on other org, data should retrieve.

     

    The virtual entity is org level and it not possible to create user/team owned.

     

    PCF with Custom action ,Possible to impersonate current user to another Org ?

     

    Thanks

     

     

  • Power Platform Communities Profile Picture
    8 on at

    Hi @Gowrikaran , 

    Inside the CustomAction PlugIn you will need to create a connection to the other Org , und then you can impersonate by setting the  orgService.CallerId .

    Kind regards,

    Diana

  • Power Platform Communities Profile Picture
    8 on at

    Thanks for the reply @DianaBirkelbach 

     

    Using Caller ID, get the user profile and pass it to other organisation for impersonation on the other Organisation?

     

    Thanks

     

     

     

  • Power Platform Communities Profile Picture
    8 on at

    Hi @Gowrikaran 

    As far as I know it doesn't work that way: You need to create a new connection, so authenticate again. You could still impersonate, but need a service account for the connection.

    Kind regards,

    Diana

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 71

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans