I have an ADFS 4.0 on Windows Server 2016.I found the following URL described about customizing ID Token receiving from ADFS.
According to the above URL,I guess that I can customize ID Token to add new claims extracted from any attributes in on-premise Active Directory to ID Token.For example, I guess that I can generate the following ID Token by defining ADFS Claim Rule Language.
{ "aud":"XXXX", "iss":"https://[ADFS FQDN]/adfs", "iat":1533099776, "exp":1533103376, "auth_time":1533099776, "nonce":"hoge", "sub":"XXXXXX", "upn":"user01@exapmle.com", "unique_name":"DEV\user01", "division":"ABC Department" }
The attribute "division" in ID Token as described above is one which is extracted from the attribute "division" in on-premise Active Directory and is added to ID Token.
My guess is correct?