Steps need to be followed:
Once you save the module configuration, you will get the Test Configuration button.
Click on the Test Configuration button, you will get a login window to login into your provider/application.
Once you are logged in, you will get the table with Attribute Names and Values.
Now, go to the Attribute & Role Mapping tab, and map the attribute with the Attribute Name provided in the Test Configuration window, as shown in the below screenshot.
Correct Attribute Mapping ✔
* Email Attribute ⇒ email OR Email Attribute ⇒ upn
Incorrect Attribute Mapping ✘
* Email Attribute ⇒ admin OR Email Attribute ⇒ Aran@gmail.com