Nicolò Marchesi Thank you for clarifying. I realized your script is doing exactly what I want to do, minus the Session Timeout attribute. That helped me make progress but ran into an error: "TypeError: string indices must be integers" when trying to apply values from "update_saml_attributes." Any ideas on where I need to start looking?