My application for permanent residency was rejected, but I have a valid residence permit
The decision letter will state why your application was rejected.
You are entitled to appeal the decision
The deadline for appealing is 3 weeks from the date you received the decision.
Your appeal must be in writing and signed, and a statement must be included with the reason for your appeal. Find more information on how to appeal a decision here.
If UDI does not grant your appeal, it will be sent for reconsideration by the Immigration Appeals Board (UNE).