I assumed I could use this identity for any number but I figured it doesn't always work once I tried it with complex numbers.
For example, consider $e^{2aπi}$, with $a \epsilon \mathbb{Q}$
According to Euler's formula, $e^{2\pi ai}=\cos{(2\pi a)}+i\sin{(2\pi a)}$, which gives a complex number that depends on the rational number $a$.
However, using the property $ {(a^{b})}^{c}=a^{bc}$, we get:
$e^{2\pi ai}={(e^{2\pi i})}^a=1^a=1$