Regardless of what we discuss below, this happens because your user doesn't have any Elasticsearch roles. In order to correctly view Kibana's UI, all the users should at least have the
Now, I'd start here. I would suggest you use the Role and Role Mapping APIs to configure the required functionality.
We don't have sample files or API calls, other than the documentation examples, as each environment is unique and each administration and business rules for Authorization differ so there aren't many common scenarios.
The basic idea is that you want to create Elasticsearch roles that correspond to your AD groups and assign each role the required privileges that fit your use case. See defining roles for a detailed explanation and instructions on how to create the roles.
Then you'd want to create the corresponding role mapping rules that will map users that are members in a group to its corresponding Elasticsearch role.