In a derivative action brought by one or more shareholders or members to enforce a right of a corporation or of an unincorporated association, the corporation or association having failed to enforce a right which may properly be asserted by it, the complaint shall allege that the plaintiff was a shareholder or member at the time of the transaction of which the plaintiff complains or that the plaintiff's share or membership thereafter devolved on the plaintiff by operation of law. The complaint shall also allege with particularity the efforts, if any, made by the plaintiff to obtain the desired action from the directors or comparable authority and, if necessary, from the shareholders or members, and the reasons for the plaintiff's failure to obtain the action or for not making the effort. The derivative action may not be maintained if it appears that the plaintiff does not fairly and adequately represent the interest of the shareholders or members similarly situated in enforcing the right of the corporation or association. The action shall not be dismissed or compromised without the approval of the court, and notice of the proposed dismissal or compromise shall be given to shareholders or members in such manner as the court directs.
Minn. R. Civ. P. 23.09