Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

Temp folder access issue while calling organisation service endpoint

(1) ShareShare
ReportReport
Posted on by 2
I'm working with a dot net based web application that connects to two on-premises CRM (Dataverse) organizations (Org A and Org B) hosted on the same server. Im fetching data using API endpoint url. When connecting with User B, I can access Org A consistently without issues, but accessing Org B intermittently fails, especially after switching between organizations. The problem disappears if I manually clear the contents of C:\Windows\TEMP\Cds.ODataMetadata, suggesting a metadata cache conflict or permissions issue. Notably, User A (an admin) can access both orgs without issue. My goal is to access both Org A and Org B using User B reliably from the same application. Has anyone experienced metadata caching issues across multiple orgs and users? Is there a supported way to isolate or disable disk-based caching to avoid these conflicts?
 
Is there any documentation that says my User B should have Read/Write access to Temp folder on CRM Web server?

Error: Access to the path 'C:\Windows\TEMP\Cds.ODataMetadata\a29799d665c4e51180d20050569b6a23.GetMetadata.1033.9.Minimal.3721460116.0.421361534.cache' is denied. 
Categories:
  • stampcoin Profile Picture
    2,133 on at
    Temp folder access issue while calling organisation service endpoint
    Maybe consider using a service account for that, and grant the service account proper access right to the folder.
  • SA-17061454-0 Profile Picture
    2 on at
    Temp folder access issue while calling organisation service endpoint
    I'm currently investigating the root cause of the issue, particularly why it's working fine in Org A and not(always) for Org B. If it were an access-related problem, I would expect it to fail consistently across all calls for both Org A and Org B, because the calling user is same and TEMP folder is also same.

    That said, I haven’t encountered this issue in my local environment over the past few days, so I’m unable to test whether granting access to the calling user would resolve it. My main concern is ensuring that this doesn’t occur in the production environment.
     
    P.S - By "clear," I mean manually clearing the temp folder by remotely logging into the server using a Windows admin account.
  • stampcoin Profile Picture
    2,133 on at
    Temp folder access issue while calling organisation service endpoint
    Have you tried to grant User B the proper access of that folder ?
    When you say' manually clear the content..', by what kind of level access right ?
     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics