A 53-year-old Maple Valley woman has filed a lawsuit accusing Microsoft of gender, race and age discrimination.

Nancy Williams said in her lawsuit, filed Monday in King County Superior Court, that she was subjected to discrimination and differential treatment, as well as a hostile work environment based on her gender, race (Hispanic) and age.

Williams, who is on medical leave from her job as a software-test manager in Microsoft Azure, has been a full-time Microsoft employee since 1996. She joined the Azure group in 2010.

Williams contends in her suit that the workplace environment at Azure, which was dominated by male engineers, a “substantial percentage of whom were foreign born and of East Indian heritage,” was not supportive of women employees.

Microsoft was aware of that but put up with it because Azure, its cloud-computing platform, was a vital part of its business strategy, the lawsuit alleges.

In a statement, Microsoft said the company “provides an environment where all employees have the opportunity to be successful. We take these claims seriously and will address them with the court.”

According to the lawsuit, Williams in March 2012 began reporting to a new boss, a foreign-born man of East Indian descent, who was not named as a defendant in the lawsuit.

Williams’ boss no longer works at Microsoft, though his departure was unrelated to this matter, according to sources close to the situation. He could not immediately be reached for comment.

The lawsuit alleges Williams’ boss ignored her during meetings, excluded her from important internal communications related to Azure, was dismissive of her suggestions and blamed her for situations that were not her responsibility, while treating his male subordinates favorably.

She also questioned her boss, and her boss’ supervisor — also of East Indian descent — over their awarding of a contract to an Indian company over other companies, the suit says.

In a meeting behind closed doors in her boss’s office in January 2013, her boss “approached Williams, who was seated, and stood over her in very close proximity,” requiring Williams to repeat several times: “You are my manager, I will do as you say,” the lawsuit contends.

Williams claims she reported this and other incidents to Microsoft’s human-resources department but was cautioned against filing a formal complaint. After she did anyway, the investigation into her case lagged while she was on a two-month sabbatical, the suit says.

She also spoke of her boss’s behavior to his supervisors — also of East Indian descent — but either nothing was done or she was told her complaints would lead to negative discussions about her performance, according to the suit.

Upon her return from sabbatical, the suit alleges, Williams’ boss gave her a very low rating in her performance review and waved his fists in her face.

Williams claims she suffered panic attacks and her health began to erode.

She is seeking double the amount of her lost salary and bonus and stock awards incurred to date and which will accrue in the future, unspecified additional damages, and costs and attorney’s fees.

Williams is also asking the court to order an independent audit of the human-resources department’s practices and require that every Azure employee get training on discrimination, hostile work environments and retaliation.