Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Object reference not set to an instance of an object

(0) ShareShare
ReportReport
Posted on by 5

HI All, 

I am working on Automation of exporting the Solution from On-Premise Dynamics CRM 2016 through the powershell script provided by  /xrm-ci-framework and receive below errors. 

when i execute the powershell Script sometimes it works fine connecting to CRM and when comes to Export Task it throws me an error as below 

pastedimage1574360914944v1.png

Sometimes it throws me an error as Object reference not set to an instance of an object

pastedimage1574361098263v2.png

does anyone face same kind of issues ? 

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at
    RE: Object reference not set to an instance of an object

    Create a  new git issue in the github repo page.

    github.com/.../new

    Pls run in debug mode & attach the log file for the author troubleshooting purpose.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans