JAKARTA, Indonesia — Ibrahim Adam fled armed conflict in his home region of Darfur, Sudan, in 2011, and ended up seeking asylum in Indonesia, hoping to be eventually resettled in Australia or another Western country so he could resume his dream of being an economist.

But after languishing for nearly seven years in Indonesia — where he cannot legally work, access public services or obtain citizenship — Mr. Ibrahim recently received bad news: His resettlement is unlikely to ever happen.

The United Nations Refugee Agency’s office in Indonesia has begun informing the nearly 14,000 refugees and asylum seekers in Indonesia that they should not expect to be welcomed by another country. Instead, they should prepare to assimilate into Indonesian society as best they can, or consider returning to their strife-torn countries.

“Still no home, and no hope,” said Mr. Ibrahim, 33, who was granted United Nations refugee status in 2015.