> ## Documentation Index
> Fetch the complete documentation index at: https://docs.megaport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Resetting Your Password

> This help topic describes how to reset your Megaport account password if you have forgotten it, or if you need to for security purposes.

export const Image = ({src, alt = '', caption, width, height, shadow}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Image -';
  if (typeof src !== 'string') {
    src = String(src);
  }
  if (!src || src === 'undefined') {
    console.error(`${errorPrefix} \`src\` is required — rendering an empty string instead`);
    return <></>;
  }
  const img = <img className={['mega-image-style', shadow ? 'shadow' : ''].join(' ')} src={src} alt={alt} width={width} height={height} style={{
    display: 'block'
  }} />;
  return caption ? <figure>
      {img}
      <figcaption style={{
    textAlign: 'center',
    width
  }}>{caption}</figcaption>
    </figure> : img;
};

export const Link = ({href, children}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Link -';
  if (typeof href !== 'string') {
    href = String(href);
  }
  if (!href || href === 'undefined') {
    console.error(`${errorPrefix} the \`href\` property is required — rendering an empty string instead`);
    return <></>;
  }
  if (href.includes('{') || href.toUpperCase().includes('%7B')) {
    console.error(`${errorPrefix} could not resolve a variable in href "${href}" — rendering an empty string instead`);
    return <></>;
  }
  const isExternal = (/^https?:\/\//).test(href);
  return <a href={href} className="link" target={isExternal ? '_blank' : undefined} rel={isExternal ? 'noreferrer' : undefined}>
      {children ?? href}
      {isExternal && <span className="sr-only"> (opens in a new tab)</span>}
    </a>;
};

After you have a Megaport account, you might occasionally need to reset your login password. For example, you might have forgotten your password or the password needs to be reset for security purposes.
This is also required when a Company Admin invites other users to the Megaport account.

<Note>
  There is a maximum of between five and 20 password reset requests that a user can attempt per hour. The exact maximum number of attempts will vary, depending on the risk parameters associated with the requests. This behavior is subject to change. If you exceed the maximum number of password reset attempts, a *Password Reset - Request Failed* error message will appear.
</Note>

<Note>
  Where Single Sign-On (SSO) is enabled, the **Forgot Password** option only resets your local Megaport account password, not your SSO IdP password.
</Note>

**To reset your password**

1. Visit the <Link href="https://portal.megaport.com">Megaport Portal</Link>, enter your email address then click **Continue**.

2. Click **Forgot Password**.
   <Image src="/images/setting-up/sign-up-forgot.png" alt="Change your password" shadow={true} width={350} />

3. In the **Email** field, enter your email address then click **Reset Password**.
   <Image src="/images/setting-up/password-reset.png" alt="Reset password link" shadow={true} width={350} />
   A message appears, stating that if the account exists, an email will be sent to reset your password. The email will include instructions for resetting your password.
   <Image src="/images/setting-up/password-reset-message.png" alt="Reset password prompt" shadow={true} width={400} />

4. Click **OK** to close the Password Reset prompt.

5. Click **Reset Your Password** in the email that you received.\
   The link is valid for one hour.
   <Image src="/images/setting-up/password-reset-email.png" alt="Reset password email" shadow={true} width={500} />

6. In the Reset Password screen, enter and confirm your new password.

   <Note>
     The Megaport Portal password policy includes minimum password complexity rules. Your new password must contain:

     * At least 8 characters
     * Uppercase characters (A-Z)
     * Lowercase characters (a-z)
     * Numbers (0-9)
     * At least one special character: ^ \$ \* . \[ ] { } ( ) ? " ! @ # % & / \ , > \< ' : ; | \_ \~ \` = + -

     The password policy uses a password strength estimator to prevent common, easily guessed passwords, such as Passw0rd. If you have met all complexity requirements and your password is still being rejected, the likely cause is that the password is too common or easy to guess.
   </Note>

7. Click **Reset Password**.\
   The Password Changed OK prompt appears.

8. Click **OK**.\
   You can now log in to the Megaport Portal with your new password.
