You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
Hey Everyone,
We are trying to move to use the secure application model for our partner scripts, working fine however we are completely struggling to get the Exchange Online powershell working.
Like the other modules, we need to be able to use our refresh token to sign into it, but I cannot find a way. The instructions here seem to have a prompt for details and the script seems to be incorrect. https://docs.microsoft.com/en-au/powershell/partnercenter/multi-factor-auth?view=partnercenterps-2.0
I.e. the second part has a use of $credentials when that variable has not been set yet.
We need to know how to connect to this application ID by using a refresh token, but just cannot seem to get there.
If we use the app we added to Azure (which is used for MSOnline etc) with it but with the exchange online application id it says
New-PartnerAccessToken : AADSTS700007: The grant was issued for a different client id.
Hey Everyone,
We are trying to move to use the secure application model for our partner scripts, working fine however we are completely struggling to get the Exchange Online powershell working.
Like the other modules, we need to be able to use our refresh token to sign into it, but I cannot find a way. The instructions here seem to have a prompt for details and the script seems to be incorrect.
https://docs.microsoft.com/en-au/powershell/partnercenter/multi-factor-auth?view=partnercenterps-2.0
I.e. the second part has a use of $credentials when that variable has not been set yet.
We need to know how to connect to this application ID by using a refresh token, but just cannot seem to get there.
If we use the app we added to Azure (which is used for MSOnline etc) with it but with the exchange online application id it says
New-PartnerAccessToken : AADSTS700007: The grant was issued for a different client id.
Hoping someone can help us get this working.