The grass will not be discoloured by it.
However, to maintain proper hygiene and prevent urine smell, you should rinse with water and remove any droppings before they are trodden into the lawn.
Always remove hard dog droppings and make sure they are not pushed down into the artificial grass lawn.