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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Cannot access app scop...
Power Apps
Unanswered

Cannot access app scope from component

(0) ShareShare
ReportReport
Posted on by 6

Hi there,

 

I know that this question occurred several times but I am not able to solve my problem.

I have activated the retired functionality as it wasn't retired. No an error occurred after MS changed it.

In the component I want to access some sources. It looks like this basically:

 

Switch(contract,1,LookUp('License Calculation',Id=1,'Price Year 1'),200)

 

 

contract is a number and is passed as a parameter.

But although I activated the app scope the "name 'License Calculation' isn't recognized".

 

I created a new component and I created a whole new app but the same error.

 

Can anybody help me? Am I doing anything wrong?

Categories:
I have the same question (0)
  • EddieE Profile Picture
    4,641 Moderator on at

    @Test178 

    maybe the steps here can help?

     

    https://powerapps.microsoft.com/en-us/blog/canvas-components-can-now-access-app-scope-directly/

     

  • Test178 Profile Picture
    6 on at

    As I understand, there are two ways:

    1. The old and nearly retired way "Collection access in component scope"
    2. The new way deactivate "Collection access in component scope" and enable "Access app scope"

    Both ways doesn't work on a new Power App (SharePoint integrated if necessary to know).

  • EddieE Profile Picture
    4,641 Moderator on at

    @Test178 

    Seems you cannot use Components with SharePoint Forms

     

    EddieE_0-1691360949649.png

     

  • Test178 Profile Picture
    6 on at

    @EddieE 

    This cannot be right. The component is completely working if I do not use data from a connection just doing a math calculation. I guess this is meant a different way.

    If I am doing just a math calculation, everything works fine.

  • EddieE Profile Picture
    4,641 Moderator on at

    @Test178 
    Seems you cannot use Components with SharePoint Forms <-- click this hyperlink

  • Test178 Profile Picture
    6 on at

    @EddieE 

    This cannot be right. The component is completely working if I do not use data from a connection just doing a math calculation. I guess this is meant a different way.

    If I am doing just a math calculation, everything works fine.

  • EddieE Profile Picture
    4,641 Moderator on at

    @Test178 

    Sorry mate, I don't think I can help any further. My personal opinion is that components (even though they are GA) are still a bit clunky and the same goes for SharePoint Integrated Forms.

     

    I use components sparingly in standalone canvas apps and still use and maintain a few SharePoint Forms but I'd be hesitant to combine both. Just feels like to much trouble to bother with, but if you are determined it maybe possible to get it working - not sure really.

  • bvmtb Profile Picture
    6 on at

    There is definitely something going on that is negatively impacting accessing the app scope from components. None of my applications are working as expected because that option isn't available anymore. 

     

     

  • myvsparth Profile Picture
    31 on at

    To enable "Access app scope" option follow below steps

    1. Open App settings

    2. Search for scope word under Retired tab

    3. Turn off the setting "Collection access in component scope".

    4. Save app , close app and reopen the app. you will get Access app scope now in component.

    Please check below screenshot for more clarity

    myvsparth_0-1716790698753.png

     

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 602

#2
WarrenBelz Profile Picture

WarrenBelz 473 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 310

Last 30 days Overall leaderboard