Nothing
call_graph_endpoint()
and no longer fail with 404ms_object$get_list_pager()
where the default_generator
argument wasn't being used.ms_graph_pager
and graph_request
R6 classes.ms_graph_pager
R6 class, which is an iterator for the pages in the result.ms_object
base class now has a get_list_pager()
method which returns an object of class ms_graph_pager
.extract_list_values()
function to get all or part of the results from a paged result set.ms_object$get_paged_list()
and ms_object$init_list_objects()
methods are retained for backward compatibility, but are otherwise deprecated.ms_graph$get_user()
method can now get a user by email or display name. Similarly, the get_group()
method can get a group by display name.n
(the maximum number of rows) is supplied.ms_graph$get_aad_object()
method to retrieve an Azure Active Directory object by ID. Mostly intended for use with the list_object_memberships()
and list_group_memberships()
methods, which return only IDs and not full object information.list_*
R6 methods now have filter
and n
arguments to filter the result set and cap the number of results. The default values are filter=NULL
and n=Inf
. If n=NULL
, the ms_graph_pager
iterator object is returned instead to allow manual iteration over the results.find_class_generator()
function.list_users()
, list_groups()
, list_apps()
and list_service_principals()
methods to the main ms_graph
client class.graph_request
.call_batch_endpoint()
function and ms_graph$call_batch_endpoint()
method for calling the batch endpoint with a list of requests.ms_object$get_paged_list()
method.ms_object$init_list_objects()
method now has a ...
argument to allow passing extra parameters to class constructors.get_paged_list
and init_list_objects
.get_graph_login
to allow specifying scopes.az_app$add_password()
method to add a password to an app, and az_app$remove_password()
to remove it. As a security measure, app passwords can no longer be manually specified; instead all passwords are now auto-generated on the server with a cryptographically secure PRNG.az_app$update_password()
method is defunct.certificate
argument to ms_graph$create_app()
can be the name of a .pfx or .pem file, an openssl::cert
object, an AzureKeyVault::stored_cert
object, or a raw or character vector containing the certificate.az_app$add_certificate()
and az_app$remove_certificate()
methods, matching add_password
and remove_password
.utils::askYesNo
for confirmation prompts on R >= 3.5, eg when deleting objects; this fixes a bug in reading the input. As a side-effect, Windows users who are using RGUI.exe will see a popup dialog box instead of a message in the terminal.config_file
argument for az_graph$new
has been removed; to use a configuration file, call the (recommended) create_graph_login
function.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.