On 26 November 2016 Dirar made his return to the first team, coming on as a second-half substitute in a 4–0 win over Marseille. Two weeks after returning to the first team, he captained the side again on matchday 6 of the Champions League, a 3–0 loss against Bayer Leverkusen. He also captained the team in the following match, a 7–0 win over Rennes in the round of 16 of the Coupe de la Ligue seven days later. After being sidelined on three occasions due to international commitment and injuries Dirar scored an equalizer following a free-kick from Radamel Falcao in a 2–1 win over Dijon on 15 April 2017. He suffered an injury during a warm-up prior to a Champions League match against Juventus, keeping him out for the remainder of the season. The club went on to win the league for the first time since 2000 and Dirar was among three players (including with Danijel Subašić and Andrea Raggi) who won both Ligue 1 and Ligue 2 in the past four seasons. In 2016–17, he scored 1 goal from 33 appearances across all competitions.