Notifications
Announcements
No record found.
Hello DAX community,
So I am uploading a generated file in attachments, through code and its working fine in dev server
But in UAT and LIVE I am getting this error
Any help would be really appreciated
Regards,
Atul Yadav
dynamicscommunity101.blogspot.com/
Hi Atul,
This seems to be an issue related to your SharePoint security setup.
Can you check that one to ensure that you have all the necessary SharePoint user rights?
Best regards,
Ludwig
Did you also test with a SharePoint location on your DEV machine or with e.g. a local folder? Like Ludwig mentioned, first review the permissions for the SharePoint location. If this is setup correctly, then you need to review your coding how you access SharePoint. The Tier2+ environments are on another software configuration which might need another approach.
Hi Ludwig,
User has all the rights of sharepoint, Since the user is admin
and Sharepoint setup is correct
Hi Andre,
On dev I tested with local folder,
yes reviewing how can I access sharePoint location or may be a different approach for the files to upload in the attachments
In this case, you didn't test in DEV the exact same scenario. I do suppose you would get the same error when using the SharePoint location in DEV. Accessing SharePoint or a local file is a complete different topic.
Thank you for the valuable comments, Issue has been resolved after I saved it to a temporary path in the system and attached the file to the attachments from temporary path.
dynamicscommunity101.blogspot.com
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 449 Super User 2025 Season 2
Martin Dráb 422 Most Valuable Professional
BillurSamdancioglu 239 Most Valuable Professional